aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-06-19 08:29:45 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-06-19 08:29:45 +0800
commit81925b73468019510e92227d8bc112c080d6acf0 (patch)
treee617358d2da96a543b6f978c9e2ea30ffffde5e2 /games
parent1b93d9b506f011cd81ed56157360e38d138b6d33 (diff)
downloadfreebsd-ports-gnome-81925b73468019510e92227d8bc112c080d6acf0.tar.gz
freebsd-ports-gnome-81925b73468019510e92227d8bc112c080d6acf0.tar.zst
freebsd-ports-gnome-81925b73468019510e92227d8bc112c080d6acf0.zip
- Fix shebangs
- Add NO_ARCH - Simplify WRKSRC handling
Diffstat (limited to 'games')
-rw-r--r--games/umark/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/games/umark/Makefile b/games/umark/Makefile
index d05095be5b00..9a98715de3ee 100644
--- a/games/umark/Makefile
+++ b/games/umark/Makefile
@@ -3,7 +3,7 @@
PORTNAME= umark
DISTVERSION= 2.0.0-Beta3
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= games benchmarks
MASTER_SITES= SF/ut2k3botbench/UMark%20for%20Linux/2.0.0%20Beta%203
DISTNAME= UMark-for-Linux-v${DISTVERSION:S/.//g}
@@ -12,11 +12,13 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Unreal Tournament 200x series benchmark utility
LICENSE= GPLv2 # or later
-LICENSE_FILE= ${WRKSRC}/../COPYING
+LICENSE_FILE= ${WRKSRC}/COPYING
-USES= pkgconfig
+USES= pkgconfig shebangfix
+SHEBANG_FILES= install_umark_data.sh utxinfo.pl
USE_GNOME= gtk20
-WRKSRC= ${WRKDIR}/UMark/src
+WRKSRC= ${WRKDIR}/UMark
+BUILD_WRKSRC= ${WRKSRC}/src
MAKEFILE= ${FILESDIR}/Makefile
SUB_FILES= pkg-message
PORTDOCS= ChangeLog INSTALL README TODO
@@ -24,13 +26,12 @@ PORTDOCS= ChangeLog INSTALL README TODO
OPTIONS_DEFINE= DOCS
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
- ${INSTALL_SCRIPT} ${WRKDIR}/UMark/install_umark_data.sh ${STAGEDIR}${DATADIR}
- ${INSTALL_SCRIPT} ${WRKDIR}/UMark/utxinfo.pl ${STAGEDIR}${DATADIR}
- cd ${WRKDIR}/UMark && ${FIND} data html pixmaps | \
- ${CPIO} -pdu ${STAGEDIR}${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/install_umark_data.sh ${STAGEDIR}${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/utxinfo.pl ${STAGEDIR}${DATADIR}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} "data html pixmaps" ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKDIR}/UMark/,} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>