From d1d1af576cdec0414c334b7c0364961340bd2753 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Sun, 22 Jun 2014 14:01:22 +0000 Subject: Stageify. Remove esound option which simplifies the port and nobody uses esound anyway. --- games/moon-buggy/Makefile | 30 ++----------------------- games/moon-buggy/files/extra-patch-configure.ac | 11 --------- games/moon-buggy/pkg-plist | 3 +++ 3 files changed, 5 insertions(+), 39 deletions(-) delete mode 100644 games/moon-buggy/files/extra-patch-configure.ac create mode 100644 games/moon-buggy/pkg-plist (limited to 'games/moon-buggy') 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 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 -- cgit v1.2.3