From nemysis@gmx.ch  Mon Oct 29 09:10:17 2012
Return-Path: <nemysis@gmx.ch>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id B1B60987
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 29 Oct 2012 09:10:17 +0000 (UTC)
	(envelope-from nemysis@gmx.ch)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22])
	by mx1.freebsd.org (Postfix) with SMTP id 275658FC17
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 29 Oct 2012 09:10:16 +0000 (UTC)
Received: (qmail invoked by alias); 29 Oct 2012 09:10:14 -0000
Received: from 201-230.4-85.cust.bluewin.ch (EHLO something.email.com) [85.4.230.201]
  by mail.gmx.net (mp030) with SMTP; 29 Oct 2012 10:10:14 +0100
Received: by something.email.com (sSMTP sendmail emulation); Mon, 29 Oct 2012 10:10:13 +0100
Message-Id: <20121029091017.B1B60987@hub.freebsd.org>
Date: Mon, 29 Oct 2012 10:10:13 +0100
From: nemysis <nemysis@gmx.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc: jgh@FreeBSD.org
Subject: [PATCH] games/abe: Makefile changed, removed pkg-plist, take maintainership
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         173184
>Category:       ports
>Synopsis:       [PATCH] games/abe: Makefile changed, removed pkg-plist, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    nemysis
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 29 09:20:00 UTC 2012
>Closed-Date:    Tue Aug 27 16:57:10 UTC 2013
>Last-Modified:  Tue Aug 27 17:00:00 UTC 2013
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:

- Take maintainership

Removed file(s):
- pkg-plist

Makefile changed:

+BUILD_DEPENDS=	bmptopnm:${PORTSDIR}/graphics/netpbm
+PLIST_FILES=
+PORTDATA=	*
+PORTDOCS=
+DESKTOP_ENTRIES=
+post-build:
+post-install:
+.if ${PORT_OPTIONS:MDOCS}

Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:

portlint -A
looks fine.

port test: clean

Build log

https://redports.org/buildarchive/20121029030110-48809/

>Fix:

--- abe-1.1_6.patch begins here ---
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-10-29 04:15:05.000000000 +0100
@@ -7,38 +7,42 @@
 
 PORTNAME=	abe
 PORTVERSION=	1.1
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Abe's Amazing Adventure
 
 LICENSE=	GPLv2
 
-USE_GMAKE=	yes
-USE_SDL=	mixer sdl
+BUILD_DEPENDS=	bmptopnm:${PORTSDIR}/graphics/netpbm
 
+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}"
 
+PLIST_FILES=	bin/${PORTNAME} \
+		share/pixmaps/${PORTNAME}.png
+
+PORTDATA=	*
+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 +56,22 @@
 .   endif
 .endif
 
+post-build:
+	@(cd ${WRKSRC} && ${TAR} xf ./images/images.tar abe.bmp && \
+		${LOCALBASE}/bin/bmptopnm abe.bmp | \
+		${LOCALBASE}/bin/pamscale .2487 | ${LOCALBASE}/bin/pnmtopng > ${PORTNAME}.png)
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/${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/pkg-plist ./pkg-plist
--- /usr/ports/games/abe/pkg-plist	2005-07-20 20:31:26.000000000 +0200
+++ ./pkg-plist	1970-01-01 01:00:00.000000000 +0100
@@ -1,21 +0,0 @@
-bin/abe
-%%DATADIR%%/images/images.tar
-%%DATADIR%%/maps/default.dat
-%%DATADIR%%/maps/intro.dat
-%%DATADIR%%/sounds/bubble.wav
-%%DATADIR%%/sounds/closed.wav
-%%DATADIR%%/sounds/death.wav
-%%DATADIR%%/sounds/door.wav
-%%DATADIR%%/sounds/game.ogg
-%%DATADIR%%/sounds/gem.wav
-%%DATADIR%%/sounds/intro.ogg
-%%DATADIR%%/sounds/jump.wav
-%%DATADIR%%/sounds/menu.wav
-%%DATADIR%%/sounds/object.wav
-%%DATADIR%%/sounds/platform.wav
-%%DATADIR%%/sounds/pop.wav
-%%DATADIR%%/sounds/spring.wav
-@dirrm %%DATADIR%%/sounds
-@dirrm %%DATADIR%%/maps
-@dirrm %%DATADIR%%/images
-@dirrm %%DATADIR%%
--- abe-1.1_6.patch ends here ---

>Release-Note:
>Audit-Trail:

From: nemysis <nemysis@gmx.ch>
To: bug-followup@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@FreeBSD.org
 +MAINTAINER=	nemysis@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--

From: nemysis <nemysis@gmx.ch>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/173184: [PATCH] games/abe: Makefile changed, removed
 pkg-plist, take maintainership
Date: Fri, 22 Feb 2013 13:32:52 +0100

 --MP_/22s_wyH9Mp7=+Yd.hnOvBKJ
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 Removed
 BUILD_DEPENDS=       bmptopnm:${PORTSDIR}/graphics/netpbm
 
 Added in Makefile:
 
                SF/nemysisfreebsdp/:icons
 DISTFILES=     ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
                ${PORTNAME}.png:icons
 DIST_SUBDIR=   ${PORTNAME} <-- Because isn't good to have png in /usr/ports/distfiles
 EXTRACT_ONLY=  ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
 ...
 --MP_/22s_wyH9Mp7=+Yd.hnOvBKJ
 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	2013-01-14 17:55:29.000000000 +0100
 +++ ./Makefile	2013-02-22 13:27:08.000000000 +0100
 @@ -7,38 +7,42 @@
  
  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@FreeBSD.org
 +MAINTAINER=	nemysis@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}" \
 +		"${PREFIX}/share/pixmaps/${PORTNAME}.png" \
 +		"${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 +56,17 @@
  .   endif
  .endif
  
 +post-install:
 +	${INSTALL_DATA} ${_DISTDIR}/${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	2013-01-14 17:55:29.000000000 +0100
 +++ ./distinfo	2013-02-22 13:17:05.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	2013-01-14 17:55:29.000000000 +0100
 +++ ./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_/22s_wyH9Mp7=+Yd.hnOvBKJ--
Responsible-Changed-From-To: freebsd-ports-bugs->nemysis 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Wed Aug 14 09:29:31 UTC 2013 
Responsible-Changed-Why:  
submitter is now committer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173184 
State-Changed-From-To: open->closed 
State-Changed-By: deischen 
State-Changed-When: Tue Aug 27 16:56:36 UTC 2013 
State-Changed-Why:  
Patch committed, thanks for your contribution! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173184 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/173184: commit references a PR
Date: Tue, 27 Aug 2013 16:56:30 +0000 (UTC)

 Author: deischen
 Date: Tue Aug 27 16:56:17 2013
 New Revision: 325469
 URL: http://svnweb.freebsd.org/changeset/ports/325469
 
 Log:
   Change maintainer to nemysis from ports@.  Update Makefile for PORTDOCS,
   PORTDATA, DESKTOP_ENTRIES.
   
   PR:		173184
   Submitted by:	nemysis at gmx dot ch
 
 Deleted:
   head/games/abe/pkg-plist
 Modified:
   head/games/abe/Makefile
 
 Modified: head/games/abe/Makefile
 ==============================================================================
 --- head/games/abe/Makefile	Tue Aug 27 16:51:00 2013	(r325468)
 +++ head/games/abe/Makefile	Tue Aug 27 16:56:17 2013	(r325469)
 @@ -1,44 +1,44 @@
 -# New ports collection makefile for:	games/abe
 -# Date created:			8 Aug 2005
 -# Whom:				Alejandro Pulver <alejandro@varnet.biz>
 -#
 +# Created by: Alejandro Pulver <alejandro@varnet.biz>
  # $FreeBSD$
 -#
  
  PORTNAME=	abe
  PORTVERSION=	1.1
 -PORTREVISION=	5
 +PORTREVISION=	6
  CATEGORIES=	games
  MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
  
 -MAINTAINER=	ports@FreeBSD.org
 +MAINTAINER=	nemysis@gmx.ch
  COMMENT=	Abe's Amazing Adventure
  
  LICENSE=	GPLv2
  
 -USE_GMAKE=	yes
 -USE_SDL=	mixer sdl
 +BUILD_DEPENDS=	bmptopnm:${PORTSDIR}/graphics/netpbm
  
 +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}"
  
 +PLIST_FILES=	bin/${PORTNAME} \
 +		share/pixmaps/${PORTNAME}.png
 +
 +PORTDATA=	*
 +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 +52,20 @@ post-patch:
  .   endif
  .endif
  
 +post-build:
 +	@(cd ${WRKSRC} && ${TAR} xf ./images/images.tar abe.bmp && \
 +		${LOCALBASE}/bin/bmptopnm abe.bmp | \
 +		${LOCALBASE}/bin/pamscale .2487 | ${LOCALBASE}/bin/pnmtopng > ${PORTNAME}.png)
 +
 +post-install:
 +	${INSTALL_DATA} ${WRKSRC}/${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>
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
