diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2013-11-22 12:55:00 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2013-11-22 12:55:00 +0000 |
commit | 5898d7df5c5c0c4c33faa934a38001e755f6d900 (patch) | |
tree | edc1328e7d68e649db202ae07c396b88869f73de /graphics/pencil/Makefile | |
parent | 14b67ba33b83fe27381b6547b20370f812a4da0f (diff) | |
download | ports-5898d7df5c5c0c4c33faa934a38001e755f6d900.tar.gz ports-5898d7df5c5c0c4c33faa934a38001e755f6d900.zip |
Notes
Diffstat (limited to 'graphics/pencil/Makefile')
-rw-r--r-- | graphics/pencil/Makefile | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/graphics/pencil/Makefile b/graphics/pencil/Makefile index aaa9b491dc5f..addab1b99c28 100644 --- a/graphics/pencil/Makefile +++ b/graphics/pencil/Makefile @@ -22,38 +22,26 @@ LIB_DEPENDS+= ming:${PORTSDIR}/graphics/ming \ drm:${PORTSDIR}/graphics/libdrm USE_ZIP= yes -USES= gettext iconv +USES= gettext iconv qmake USE_GNOME= glib20 -USE_QT4= gui moc_build qmake_build rcc_build xml_build opengl_build +USE_QT4= gui moc_build rcc_build xml_build opengl_build USE_XORG= xi xrender xrandr xfixes xcursor xinerama xext x11 xau xdmcp \ xxf86vm xdamage USE_GL= gl glu +QMAKE_ARGS+= INCLUDEPATH+=${LOCALBASE}/include/ming WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source PLIST_FILES= bin/pencil PORTDOCS= README TODO -NO_STAGE= yes -.include <bsd.port.options.mk> - -do-configure: - @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ - ${QMAKE} -unix PREFIX=${PREFIX} \ - INCLUDEPATH+=${LOCALBASE}/include/ming \ - ${PORTNAME}.pro - post-patch: @${MKDIR} ${WRKSRC}/src/external/freebsd @${CP} ${FILESDIR}/src-external-freebsd-freebsd.cpp \ ${WRKSRC}/src/external/freebsd/freebsd.cpp do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/Pencil ${PREFIX}/bin/pencil -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} -.for doc in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} -.endfor -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/Pencil ${STAGEDIR}${PREFIX}/bin/pencil + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |