Changeset View
Changeset View
Standalone View
Standalone View
graphics/lprof-devel/Makefile
| Show All 15 Lines | LIB_DEPENDS= liblcms.so:graphics/lcms \ | ||||
| libtiff.so:graphics/tiff \ | libtiff.so:graphics/tiff \ | ||||
| libvigraimpex.so:graphics/vigra | libvigraimpex.so:graphics/vigra | ||||
| USES= cmake desktop-file-utils jpeg tar:bzip2 | USES= cmake desktop-file-utils jpeg tar:bzip2 | ||||
| USE_XORG= x11 xext sm ice xxf86vm | USE_XORG= x11 xext sm ice xxf86vm | ||||
| USE_QT4= corelib gui qt3support svg assistantclient \ | USE_QT4= corelib gui qt3support svg assistantclient \ | ||||
| linguisttools_build qmake_build moc_build uic_build rcc_build | linguisttools_build qmake_build moc_build uic_build rcc_build | ||||
| CMAKE_ARGS= -DQTTRANS_LRELEASE_EXECUTABLE="${LOCALBASE}/bin/lrelease-qt4" | |||||
| WRKSRC= ${WRKDIR}/${PORTNAME} | WRKSRC= ${WRKDIR}/${PORTNAME} | ||||
| PORTDOCS= * | PORTDOCS= * | ||||
| PORTDATA= * | PORTDATA= * | ||||
| OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= DOCS | ||||
| post-patch: | post-patch: | ||||
| @${REINPLACE_CMD} -e '/asm\/types.h/ d' ${WRKSRC}/src/argyll/spectro/hidio.c | @${REINPLACE_CMD} -e '/asm\/types.h/ d' ${WRKSRC}/src/argyll/spectro/hidio.c | ||||
| @${REINPLACE_CMD} -e '/DESTINATION/ s|data/|share/${PORTNAME}/data/|' \ | @${REINPLACE_CMD} -e '/DESTINATION/ s|data/|share/${PORTNAME}/data/|' \ | ||||
| ${WRKSRC}/data/CMakeLists.txt ${WRKSRC}/src/CMakeLists.txt | ${WRKSRC}/data/CMakeLists.txt ${WRKSRC}/src/CMakeLists.txt | ||||
| # Patch in the correct prefix of the Qt binaries into the sources. | |||||
| @${REINPLACE_CMD} -e 's|%%QT_ARCHDIR%%|${QT_ARCHDIR}|g' \ | |||||
| ${WRKSRC}/src/lprofqt/config.cpp | |||||
| post-install: | post-install: | ||||
| ${INSTALL_DATA} ${WRKSRC}/data/icons/lprof.png ${STAGEDIR}${PREFIX}/share/pixmaps | ${INSTALL_DATA} ${WRKSRC}/data/icons/lprof.png ${STAGEDIR}${PREFIX}/share/pixmaps | ||||
| .include <bsd.port.mk> | .include <bsd.port.mk> | ||||