Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2013 12:40:01 GMT
From:      nemysis <nemysis@gmx.ch>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/173184: [PATCH] games/abe: Makefile changed, removed pkg-plist, take maintainership
Message-ID:  <201302221240.r1MCe1FG009904@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/173184; it has been noted by GNATS.

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--



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