aboutsummaryrefslogtreecommitdiff
path: root/games/blockrage
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-05-18 13:19:24 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-05-18 13:19:24 +0000
commita148a1576837aa37e11b102d31619c2b2720094b (patch)
tree1bdab175fa518c70e520293966d819a0143f8331 /games/blockrage
parent76e12214fafcaccd95dc6e2910997a60048c232b (diff)
downloadports-a148a1576837aa37e11b102d31619c2b2720094b.tar.gz
ports-a148a1576837aa37e11b102d31619c2b2720094b.zip
- Simplify MASTER_SITES
- Switch to options helpers
Notes
Notes: svn path=/head/; revision=415445
Diffstat (limited to 'games/blockrage')
-rw-r--r--games/blockrage/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/blockrage/Makefile b/games/blockrage/Makefile
index 9de50a047203..0acc519991b4 100644
--- a/games/blockrage/Makefile
+++ b/games/blockrage/Makefile
@@ -5,7 +5,7 @@ PORTNAME= blockrage
PORTVERSION= 0.2.3
PORTREVISION= 6
CATEGORIES= games
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} \
+MASTER_SITES= SF \
SF/nemysisfreebsdp/${CATEGORIES}/:icons
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
${PORTNAME}_icons${EXTRACT_SUFX}:icons
@@ -21,7 +21,6 @@ GNU_CONFIGURE= yes
ALL_TARGET= ${PORTNAME}
PORTDOCS= ChangeLog KNOWN_BUGS README
-OPTIONS_DEFINE= DOCS
INSTALLS_ICONS= yes
ICON_SIZES= 32x32 48x48 64x64 72x72 96x96
@@ -31,6 +30,8 @@ SUB_FILES= ${PORTNAME}
DESKTOP_ENTRIES="Block Rage" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ""
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e \
's|prefix=/usr/local|prefix=${PREFIX}|; \
@@ -58,6 +59,7 @@ do-install:
${STAGEDIR}${PREFIX}/share/pixmaps/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}