Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jun 2014 14:01:22 +0000 (UTC)
From:      Tilman Keskinoz <arved@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r358803 - in head/games/moon-buggy: . files
Message-ID:  <201406221401.s5ME1M8R069216@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arved
Date: Sun Jun 22 14:01:22 2014
New Revision: 358803
URL: http://svnweb.freebsd.org/changeset/ports/358803
QAT: https://qat.redports.org/buildarchive/r358803/

Log:
  Stageify.
  Remove esound option which simplifies the port and nobody uses esound anyway.

Added:
  head/games/moon-buggy/pkg-plist   (contents, props changed)
Deleted:
  head/games/moon-buggy/files/extra-patch-configure.ac
Modified:
  head/games/moon-buggy/Makefile

Modified: head/games/moon-buggy/Makefile
==============================================================================
--- head/games/moon-buggy/Makefile	Sun Jun 22 13:59:05 2014	(r358802)
+++ head/games/moon-buggy/Makefile	Sun Jun 22 14:01:22 2014	(r358803)
@@ -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 
 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>

Added: head/games/moon-buggy/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/moon-buggy/pkg-plist	Sun Jun 22 14:01:22 2014	(r358803)
@@ -0,0 +1,3 @@
+bin/moon-buggy
+man/man6/moon-buggy.6.gz
+@exec chmod 0555 %D/bin/moon-buggy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406221401.s5ME1M8R069216>