aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorgavin <gavin@FreeBSD.org>2014-05-15 04:36:00 +0800
committergavin <gavin@FreeBSD.org>2014-05-15 04:36:00 +0800
commit6d7f2c45c8ffe8bc03c385833cfa77d171b99bc6 (patch)
tree4cdd0435ef3cdda8069f005748910c561ecd9173 /games
parenta607ca70c78640c55c8bb635925ce6c2db09fa85 (diff)
downloadfreebsd-ports-gnome-6d7f2c45c8ffe8bc03c385833cfa77d171b99bc6.tar.gz
freebsd-ports-gnome-6d7f2c45c8ffe8bc03c385833cfa77d171b99bc6.tar.zst
freebsd-ports-gnome-6d7f2c45c8ffe8bc03c385833cfa77d171b99bc6.zip
STAGEify and generally update this port.
Approved by: mat
Diffstat (limited to 'games')
-rw-r--r--games/netris/Makefile16
-rw-r--r--games/netris/pkg-plist2
2 files changed, 11 insertions, 7 deletions
diff --git a/games/netris/Makefile b/games/netris/Makefile
index c2b93a436650..b2640f0d0950 100644
--- a/games/netris/Makefile
+++ b/games/netris/Makefile
@@ -10,17 +10,23 @@ PATCH_SITES= http://debian.lcs.mit.edu/pub/usagi/ftp.v6.linux.or.jp/IPv6-2/netr
PATCHFILES= netris-0.5-v6-19991206a.diff.gz
PATCH_DIST_STRIP= -p1
-MAINTAINER= gavin.atkinson@ury.york.ac.uk
+MAINTAINER= gavin@FreeBSD.org
COMMENT= A network head to head version of T*tris
+LICENSE= GPLv2 # (or later)
+
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
CONFIGURE_ARGS= --cc '${CC}' --copt '${CFLAGS}'
CONFIGURE_ARGS+= --enable-ipv6
-MAN1= netris.1
-NO_STAGE= yes
-post-install:
- ${INSTALL_MAN} ${FILESDIR}/netris.1 ${PREFIX}/man/man1
+PLIST_FILES= bin/netris \
+ bin/sample-robot \
+ man/man1/netris.1.gz
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/netris ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/sr ${STAGEDIR}${PREFIX}/bin/sample-robot
+ ${INSTALL_MAN} ${FILESDIR}/netris.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/games/netris/pkg-plist b/games/netris/pkg-plist
deleted file mode 100644
index c92afea70edc..000000000000
--- a/games/netris/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-bin/netris
-bin/sample-robot