aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2014-06-22 14:01:22 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2014-06-22 14:01:22 +0000
commitd1d1af576cdec0414c334b7c0364961340bd2753 (patch)
tree9eb9916aa261f28ebb4e4f6089af50279e508ea5 /games
parent46eda36ecefb450f491c51ad5233e939b3474339 (diff)
downloadports-d1d1af576cdec0414c334b7c0364961340bd2753.tar.gz
ports-d1d1af576cdec0414c334b7c0364961340bd2753.zip
Stageify.
Remove esound option which simplifies the port and nobody uses esound anyway.
Notes
Notes: svn path=/head/; revision=358803
Diffstat (limited to 'games')
-rw-r--r--games/moon-buggy/Makefile30
-rw-r--r--games/moon-buggy/files/extra-patch-configure.ac11
-rw-r--r--games/moon-buggy/pkg-plist3
3 files changed, 5 insertions, 39 deletions
diff --git a/games/moon-buggy/Makefile b/games/moon-buggy/Makefile
index 5c99aee35e30..5ff5cf94d598 100644
--- a/games/moon-buggy/Makefile
+++ b/games/moon-buggy/Makefile
@@ -6,12 +6,6 @@ PORTVERSION= 1.0.51
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://seehuhn.de/media/programs/
-.if defined (WITH_ESOUND)
-PKGNAMESUFFIX= "-esound"
-DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
- ${PORTNAME}-sound-${PORTVERSION}${EXTRACT_SUFX}
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-configure.ac
-.endif
MAINTAINER= arved@FreeBSD.org
COMMENT= Drive a buggy across the moons surface
@@ -19,32 +13,12 @@ COMMENT= Drive a buggy across the moons surface
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-.if defined (WITH_ESOUND)
-LIB_DEPENDS= esd:${PORTSDIR}/audio/esound
-.endif
-
-USE_AUTOTOOLS= autoconf
-NO_STAGE= yes
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
--sharedstatedir=/var/games\
--with-setgid=games
+NEED_ROOT= yes
-MAN6= moon-buggy.6
INFO= moon-buggy
-PLIST_FILES= bin/moon-buggy
-.if defined (WITH_ESOUND)
-PLIST_FILES+= share/moon-buggy/jump.wav \
- share/moon-buggy/laser.wav \
- share/moon-buggy/crash.wav
-PLIST_DIRS+= share/moon-buggy
-
-pre-patch:
- cd ${WRKSRC} && ${PATCH} -p1 < sound.patch
-.endif
-
-# make package will fail without doing this
-post-install:
- ${CHMOD} 0555 ${PREFIX}/bin/moon-buggy
-
.include <bsd.port.mk>
diff --git a/games/moon-buggy/files/extra-patch-configure.ac b/games/moon-buggy/files/extra-patch-configure.ac
deleted file mode 100644
index 74947e91734a..000000000000
--- a/games/moon-buggy/files/extra-patch-configure.ac
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.ac Mon May 30 13:36:12 2005
-+++ configure.ac.orig Mon May 30 13:35:21 2005
-@@ -67,7 +67,7 @@
-
- AM_CONDITIONAL(short_getopt, test "x$ac_cv_func_getopt_long" != xyes)
-
--SOUND_DIR='$(datadir)/sounds/moon-buggy'
-+SOUND_DIR='$(datadir)/moon-buggy'
- AC_SUBST(SOUND_DIR)
-
- AC_CONFIG_FILES([Makefile])
diff --git a/games/moon-buggy/pkg-plist b/games/moon-buggy/pkg-plist
new file mode 100644
index 000000000000..7478c02b0af3
--- /dev/null
+++ b/games/moon-buggy/pkg-plist
@@ -0,0 +1,3 @@
+bin/moon-buggy
+man/man6/moon-buggy.6.gz
+@exec chmod 0555 %D/bin/moon-buggy