ports/173184: [PATCH] games/abe: Makefile changed, removed pkg-plist, take maintainership
nemysis
nemysis at gmx.ch
Sat Nov 10 21:50:01 UTC 2012
The following reply was made to PR ports/173184; it has been noted by GNATS.
From: nemysis <nemysis at gmx.ch>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/173184: [PATCH] games/abe: Makefile changed, removed
pkg-plist, take maintainership
Date: Sat, 10 Nov 2012 22:39:59 +0100
--MP_/MvShMoK_JIG/sW.Q9kNH.Zu
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Added pkg-plist and download for icon abe.png from SF.
--MP_/MvShMoK_JIG/sW.Q9kNH.Zu
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=abe.diff
===> Generating patch
===> Viewing diff with more
diff -ruN --exclude=CVS /usr/ports/games/abe/Makefile ./Makefile
--- /usr/ports/games/abe/Makefile 2012-08-24 04:36:17.000000000 +0200
+++ ./Makefile 2012-11-10 22:34:42.000000000 +0100
@@ -7,38 +7,41 @@
PORTNAME= abe
PORTVERSION= 1.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= games
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}\
+ SF/nemysisfreebsdp/:icons
+DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
+ ${PORTNAME}.png:icons
+DIST_SUBDIR= ${PORTNAME}
+EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= nemysis at gmx.ch
COMMENT= Abe's Amazing Adventure
LICENSE= GPLv2
-USE_GMAKE= yes
USE_SDL= mixer sdl
-
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-data-dir=${DATADIR}
+USE_GMAKE= yes
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
+PORTDOCS= AUTHORS ChangeLog README
+
+DESKTOP_ENTRIES="Abe's Amazing Avanture" "${COMMENT}" "${PORTNAME}" \
+ "${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
+
OPTIONS_DEFINE= GOD_MODE OPTIMIZED_CFLAGS
OPTIONS_DEFAULT= OPTIMIZED_CFLAGS
GOD_MODE_DESC= Enable God Mode (toggle with 'g')
-post-install:
- @${MKDIR} ${DATADIR}
-.for d in images maps sounds
- @${CP} -R ${WRKSRC}/${d} ${DATADIR}
-.endfor
-
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MGOD_MODE} || !empty(PORT_OPTIONS:MOPTIMIZED_CFLAGS)
post-patch:
+.if ${PORT_OPTIONS:MGOD_MODE} || !empty(PORT_OPTIONS:MOPTIMIZED_CFLAGS)
. if ${PORT_OPTIONS:MGOD_MODE}
@${REINPLACE_CMD} -e 's|\(#define GOD_MODE\) 0|\1 1|' \
${WRKSRC}/src/Game.h
@@ -52,4 +55,17 @@
. endif
.endif
+post-install:
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
+
+ ${MKDIR} ${DATADIR}
+.for d in images maps sounds
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR})
+.endfor
+
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/games/abe/distinfo ./distinfo
--- /usr/ports/games/abe/distinfo 2011-07-03 16:23:23.000000000 +0200
+++ ./distinfo 2012-11-10 22:35:34.000000000 +0100
@@ -1,2 +1,4 @@
-SHA256 (abe-1.1.tar.gz) = dfc4ea74c04c92175abc5c9d65cfa6aad218209854d87d87758878e303b677f7
-SIZE (abe-1.1.tar.gz) = 3321075
+SHA256 (abe/abe-1.1.tar.gz) = dfc4ea74c04c92175abc5c9d65cfa6aad218209854d87d87758878e303b677f7
+SIZE (abe/abe-1.1.tar.gz) = 3321075
+SHA256 (abe/abe.png) = 5c1d7e87cdcecaf34f43759cd18351f4d999ff46884dd47c0229f0101a7ad829
+SIZE (abe/abe.png) = 6131
diff -ruN --exclude=CVS /usr/ports/games/abe/pkg-plist ./pkg-plist
--- /usr/ports/games/abe/pkg-plist 2005-07-20 20:31:26.000000000 +0200
+++ ./pkg-plist 2012-11-10 22:38:30.000000000 +0100
@@ -15,6 +15,7 @@
%%DATADIR%%/sounds/platform.wav
%%DATADIR%%/sounds/pop.wav
%%DATADIR%%/sounds/spring.wav
+share/pixmaps/abe.png
@dirrm %%DATADIR%%/sounds
@dirrm %%DATADIR%%/maps
@dirrm %%DATADIR%%/images
===> Done
--MP_/MvShMoK_JIG/sW.Q9kNH.Zu--
More information about the freebsd-ports-bugs
mailing list