diff options
author | pawel <pawel@FreeBSD.org> | 2014-04-13 02:24:55 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-04-13 02:24:55 +0800 |
commit | 3aa598bdc751e7e27577a05119e3fbf16cdc54cf (patch) | |
tree | 276f1a33b1e1a4380655690df3444a8914ec9486 | |
parent | d61ce36633c75347654297a6f687a1682d7f6361 (diff) | |
download | freebsd-ports-gnome-3aa598bdc751e7e27577a05119e3fbf16cdc54cf.tar.gz freebsd-ports-gnome-3aa598bdc751e7e27577a05119e3fbf16cdc54cf.tar.zst freebsd-ports-gnome-3aa598bdc751e7e27577a05119e3fbf16cdc54cf.zip |
- Add staging support
- More precise LICENSE
- Convert to USES=tar:bzip2
-rw-r--r-- | games/qmars/Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/games/qmars/Makefile b/games/qmars/Makefile index 11f4a838e97f..8979c06cd9da 100644 --- a/games/qmars/Makefile +++ b/games/qmars/Makefile @@ -11,17 +11,16 @@ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Quicker Mars - heavily optimized mars simulator -LICENSE= BSD +LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend WRKSRC= ${WRKDIR}/${PORTNAME} -USE_BZIP2= yes +USES= tar:bzip2 MAKE_JOBS_UNSAFE= yes -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|g++|$${CXX}| ; \ s|-O3|$${CXXFLAGS}|' ${WRKSRC}/${MAKEFILE} @@ -31,11 +30,10 @@ post-patch: @${REINPLACE_CMD} -e 's|Parser::||' ${WRKSRC}/parser.hpp do-install: - (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin) - @${MKDIR} ${DATADIR} -.for i in bench.exhaust bench.exmars bench.pmars bench.qmars - (cd ${WRKSRC} && ${INSTALL_SCRIPT} ${i} ${DATADIR}) -.endfor - @(cd ${WRKSRC} && ${COPYTREE_SHARE} warriors ${DATADIR}) + (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin) + @${MKDIR} ${STAGEDIR}${DATADIR} + (cd ${WRKSRC} && ${INSTALL_SCRIPT} bench.exhaust bench.exmars \ + bench.pmars bench.qmars ${STAGEDIR}${DATADIR}) + (cd ${WRKSRC} && ${COPYTREE_SHARE} warriors ${STAGEDIR}${DATADIR}) .include <bsd.port.mk> |