diff options
author | makc <makc@FreeBSD.org> | 2013-10-09 00:03:13 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2013-10-09 00:03:13 +0800 |
commit | 4e69d9f9cbd60e18820f9b35ab75a76b0b2c3181 (patch) | |
tree | 48e767063040da5934f8f9153f0e6741073c4e32 | |
parent | 801467b3c33c575797a9d16b0cc1a5ad2012b1fc (diff) | |
download | freebsd-ports-gnome-4e69d9f9cbd60e18820f9b35ab75a76b0b2c3181.tar.gz freebsd-ports-gnome-4e69d9f9cbd60e18820f9b35ab75a76b0b2c3181.tar.zst freebsd-ports-gnome-4e69d9f9cbd60e18820f9b35ab75a76b0b2c3181.zip |
- Convert to USES=qmake
- Allow staging
-rw-r--r-- | games/colorcode/Makefile | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/games/colorcode/Makefile b/games/colorcode/Makefile index ee107e8aba73..7afb0f6b9b0d 100644 --- a/games/colorcode/Makefile +++ b/games/colorcode/Makefile @@ -11,7 +11,7 @@ MAINTAINER= makc@FreeBSD.org COMMENT= Advanced MasterMind game and solver USE_QT4= gui moc_build qmake_build rcc_build uic_build -HAS_CONFIGURE= yes +USES= qmake WRKSRC= ${WRKDIR}/ColorCode-${PORTVERSION} DESKTOP_ENTRIES= "ColorCode" "${COMMENT}" \ @@ -21,14 +21,10 @@ DESKTOP_ENTRIES= "ColorCode" "${COMMENT}" \ PLIST_FILES= bin/colorcode \ share/pixmaps/colorcode.png -NO_STAGE= yes -do-configure: - cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS} - do-install: - ${MKDIR} ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/colorcode ${PREFIX}/bin - ${MKDIR} ${PREFIX}/share/pixmaps - ${INSTALL_DATA} ${WRKSRC}/img/cc64.png ${PREFIX}/share/pixmaps/colorcode.png + @${MKDIR} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/colorcode ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${WRKSRC}/img/cc64.png ${STAGEDIR}${PREFIX}/share/pixmaps/colorcode.png .include <bsd.port.mk> |