From owner-svn-ports-head@FreeBSD.ORG Tue Aug 27 16:56:17 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C19E4F01; Tue, 27 Aug 2013 16:56:17 +0000 (UTC) (envelope-from deischen@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 95AE424A6; Tue, 27 Aug 2013 16:56:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7RGuHrF004331; Tue, 27 Aug 2013 16:56:17 GMT (envelope-from deischen@svn.freebsd.org) Received: (from deischen@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7RGuHD3004330; Tue, 27 Aug 2013 16:56:17 GMT (envelope-from deischen@svn.freebsd.org) Message-Id: <201308271656.r7RGuHD3004330@svn.freebsd.org> From: Daniel Eischen Date: Tue, 27 Aug 2013 16:56:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325469 - head/games/abe X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 16:56:17 -0000 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 -# +# Created by: Alejandro Pulver # $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 -.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