aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2014-02-01 23:36:19 +0800
committernemysis <nemysis@FreeBSD.org>2014-02-01 23:36:19 +0800
commitc15f3d0c52b5a8f999b4a2c16798e84fb9203015 (patch)
treeaf6eb5d956f827e7d97b2071c84f7e7c3567532e /games
parentd56a13839eeb0b6d0fb437c90f9da0d38e06e627 (diff)
downloadfreebsd-ports-gnome-c15f3d0c52b5a8f999b4a2c16798e84fb9203015.tar.gz
freebsd-ports-gnome-c15f3d0c52b5a8f999b4a2c16798e84fb9203015.tar.zst
freebsd-ports-gnome-c15f3d0c52b5a8f999b4a2c16798e84fb9203015.zip
- Bump PORTREVISION
- Take maintainership - Add license (GPLv2) - Remove useless CONFIGURE_ARGS, not working since Years - Add DOCS and Option - Symlink the icon - Change pkg-plist, remove mtree PR: ports/173873 Submitted by: nemysis (self)
Diffstat (limited to 'games')
-rw-r--r--games/barrage/Makefile23
-rw-r--r--games/barrage/pkg-plist9
2 files changed, 19 insertions, 13 deletions
diff --git a/games/barrage/Makefile b/games/barrage/Makefile
index 1e48845f3892..9a95ba3cd759 100644
--- a/games/barrage/Makefile
+++ b/games/barrage/Makefile
@@ -3,20 +3,33 @@
PORTNAME= barrage
PORTVERSION= 1.0.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= SF/lgames/${PORTNAME}
+MASTER_SITES= SF/lgames/${PORTNAME}/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= nemysis@FreeBSD.org
COMMENT= Destroy as many targets as possible
-USE_SDL= sdl mixer
+LICENSE= GPLv2
+
USES= gmake
+USE_SDL= sdl mixer
GNU_CONFIGURE= yes
+
INSTALLS_ICONS= yes
-CONFIGURE_ARGS= --with-profile-path=/var/games
+
+PORTDOCS= AUTHORS BUGS ChangeLog README
+
+OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/games/|/|g' ${WRKSRC}/configure
+post-install:
+ ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
+ ${STAGEDIR}${PREFIX}/share/pixmaps/
+
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
.include <bsd.port.mk>
diff --git a/games/barrage/pkg-plist b/games/barrage/pkg-plist
index 1db384b561b1..b6050e1365ac 100644
--- a/games/barrage/pkg-plist
+++ b/games/barrage/pkg-plist
@@ -26,14 +26,7 @@ share/applications/barrage.desktop
share/icons/hicolor/16x16/apps/barrage.png
share/icons/hicolor/32x32/apps/barrage.png
share/icons/hicolor/48x48/apps/barrage.png
-@dirrmtry share/icons/hicolor/48x48/apps
-@dirrmtry share/icons/hicolor/48x48
-@dirrmtry share/icons/hicolor/32x32/apps
-@dirrmtry share/icons/hicolor/32x32
-@dirrmtry share/icons/hicolor/16x16/apps
-@dirrmtry share/icons/hicolor/16x16
-@dirrmtry share/icons/hicolor
-@dirrmtry share/icons
+share/pixmaps/barrage.png
@dirrm %%DATADIR%%/sounds
@dirrm %%DATADIR%%/gfx
@dirrm %%DATADIR%%