aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2012-08-09 13:36:06 +0800
committerjgh <jgh@FreeBSD.org>2012-08-09 13:36:06 +0800
commit47b3ff2008f3556e6e548a1db210ad6a1fa83891 (patch)
tree1cfb41f6fe1653d360c3d701f43ad3426fbe086e
parent141c829d8ec7acad8cf2329ebcb1763d811a480d (diff)
downloadfreebsd-ports-gnome-47b3ff2008f3556e6e548a1db210ad6a1fa83891.tar.gz
freebsd-ports-gnome-47b3ff2008f3556e6e548a1db210ad6a1fa83891.tar.zst
freebsd-ports-gnome-47b3ff2008f3556e6e548a1db210ad6a1fa83891.zip
- use optionsNG for DOCS [1]
- drop pkg-plist in favor of PLIST_FILES and PORTDATA [1] - adjust COMMENT [2] PR: 170452 Submitted by: maintainer, nemysis@gmx.ch [1], jgh@ [2] Approved by: maintainer
-rw-r--r--games/black-box/Makefile9
-rw-r--r--games/black-box/pkg-plist34
2 files changed, 7 insertions, 36 deletions
diff --git a/games/black-box/Makefile b/games/black-box/Makefile
index 69f7cb8b87c8..2e1f32aeeaf6 100644
--- a/games/black-box/Makefile
+++ b/games/black-box/Makefile
@@ -11,7 +11,7 @@ CATEGORIES= games
MASTER_SITES= http://www.linux-games.com/black-box/
MAINTAINER= nemysis@gmx.ch
-COMMENT= You can shoot in and watch where the shot leaves the box
+COMMENT= Shoot in and watch where the shot leaves the box
LICENSE= GPLv2
@@ -19,10 +19,15 @@ GNU_CONFIGURE= yes
USE_SDL= sdl image mixer
MAKE_JOBS_SAFE= yes
+PLIST_FILES= bin/${PORTNAME}
+
+PORTDATA= *
PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
. for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
diff --git a/games/black-box/pkg-plist b/games/black-box/pkg-plist
deleted file mode 100644
index b85859db8b38..000000000000
--- a/games/black-box/pkg-plist
+++ /dev/null
@@ -1,34 +0,0 @@
-bin/black-box
-%%DATADIR%%/gfx/box.gif
-%%DATADIR%%/gfx/demo1.gif
-%%DATADIR%%/gfx/demo2.gif
-%%DATADIR%%/gfx/demo3.gif
-%%DATADIR%%/gfx/demo4.gif
-%%DATADIR%%/gfx/demo5.gif
-%%DATADIR%%/gfx/demo6.gif
-%%DATADIR%%/gfx/demo7.gif
-%%DATADIR%%/gfx/demo8.gif
-%%DATADIR%%/gfx/edge1.gif
-%%DATADIR%%/gfx/edge1red.gif
-%%DATADIR%%/gfx/edge2.gif
-%%DATADIR%%/gfx/edge2red.gif
-%%DATADIR%%/gfx/edge3.gif
-%%DATADIR%%/gfx/edge3red.gif
-%%DATADIR%%/gfx/edge4.gif
-%%DATADIR%%/gfx/font.png
-%%DATADIR%%/gfx/giveup.gif
-%%DATADIR%%/gfx/help.gif
-%%DATADIR%%/gfx/light.gif
-%%DATADIR%%/gfx/mouse.gif
-%%DATADIR%%/gfx/new.gif
-%%DATADIR%%/gfx/next.gif
-%%DATADIR%%/gfx/ok.gif
-%%DATADIR%%/gfx/prev.gif
-%%DATADIR%%/gfx/quit.gif
-%%DATADIR%%/gfx/real.gif
-%%DATADIR%%/gfx/think.gif
-%%DATADIR%%/gfx/won.png
-%%DATADIR%%/sound/ein1.mod
-@dirrm %%DATADIR%%/sound
-@dirrm %%DATADIR%%/gfx
-@dirrm %%DATADIR%%