Date: Tue, 27 Aug 2013 16:56:17 +0000 (UTC) From: Daniel Eischen <deischen@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325469 - head/games/abe Message-ID: <201308271656.r7RGuHD3004330@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308271656.r7RGuHD3004330>