From owner-svn-ports-all@FreeBSD.ORG Sat Nov 2 03:34:32 2013 Return-Path: Delivered-To: svn-ports-all@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 BC6076F7; Sat, 2 Nov 2013 03:34:32 +0000 (UTC) (envelope-from danilo@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 9AD292C62; Sat, 2 Nov 2013 03:34:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA23YW19088755; Sat, 2 Nov 2013 03:34:32 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA23YV9b088753; Sat, 2 Nov 2013 03:34:31 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201311020334.rA23YV9b088753@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Sat, 2 Nov 2013 03:34:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332446 - head/games/heroes X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Nov 2013 03:34:32 -0000 Author: danilo Date: Sat Nov 2 03:34:31 2013 New Revision: 332446 URL: http://svnweb.freebsd.org/changeset/ports/332446 Log: - Add stage support - Remove indefinite article from COMMENT - Add OPTIMIZED_CFLAGS option - Use options helpers - Convert USE_GMAKE to USES Modified: head/games/heroes/Makefile head/games/heroes/pkg-plist Modified: head/games/heroes/Makefile ============================================================================== --- head/games/heroes/Makefile Sat Nov 2 03:27:43 2013 (r332445) +++ head/games/heroes/Makefile Sat Nov 2 03:34:31 2013 (r332446) @@ -15,7 +15,7 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}${E ${MUSICDISTNAME}${EXTRACT_SUFX}:music MAINTAINER= ports@FreeBSD.org -COMMENT= A game of yore similar to the "Tron" and "Nibbles" +COMMENT= Game of yore similar to the "Tron" and "Nibbles" LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING @@ -31,33 +31,20 @@ SOUNDSRC= ${WRKDIR}/${SOUNDISTNAME} MUSICSRC= ${WRKDIR}/${MUSICDISTNAME} USE_SDL= mixer sdl -USE_GMAKE= yes -USES= gettext iconv +USES= gettext gmake iconv GNU_CONFIGURE= yes CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" CONFIGURE_ARGS= --with-sdl_mixer=${LOCALBASE} --without-gii --without-ggi -.if defined(WITH_OPTIMIZED_CFLAGS) -CONFIGURE_ARGS+=--enable-optimizations -.else -CONFIGURE_ARGS+=--disable-optimizations -.endif +OPTIONS_DEFINE= OPTIMIZED_CFLAGS + +OPTIMIZED_CFLAGS_CONFIGURE_ENABLE= optimizations -MAN6= heroes.6 heroeslvl.6 INFO= heroes CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib -lsmpeg -lm ${PTHREAD_LIBS} -NO_STAGE= yes -pre-everything:: -.ifndef(WITH_OPTIMIZED_CFLAGS) - @${ECHO_MSG} '>>>' - @${ECHO_MSG} '>>> You can enable extra optimizations by defining WITH_OPTIMIZED_CFLAGS' - @${ECHO_MSG} ">>> For example, 'make WITH_OPTIMIZED_CFLAGS=yes'" - @${ECHO_MSG} '>>>' -.endif - post-patch: @for dir in ${DATASRC} ${SOUNDSRC} ${MUSICSRC}; do \ ${FIND} $${dir} -name "Makefile*" | ${XARGS} ${RM}; \ @@ -67,12 +54,12 @@ post-patch: post-install: .for dir in levels pics tilesets - ${MKDIR} ${DATADIR}/${dir} - ${INSTALL_DATA} ${DATASRC}/${dir}/* ${DATADIR}/${dir} + @${MKDIR} ${STAGEDIR}${DATADIR}/${dir} + ${INSTALL_DATA} ${DATASRC}/${dir}/* ${STAGEDIR}${DATADIR}/${dir} .endfor - ${MKDIR} ${DATADIR}/sfx - ${INSTALL_DATA} ${SOUNDSRC}/*.wav ${SOUNDSRC}/sfx.conf ${DATADIR}/sfx - ${MKDIR} ${DATADIR}/mod - ${INSTALL_DATA} ${MUSICSRC}/*.xm ${MUSICSRC}/sound.conf ${DATADIR}/mod + @${MKDIR} ${STAGEDIR}${DATADIR}/sfx + ${INSTALL_DATA} ${SOUNDSRC}/*.wav ${SOUNDSRC}/sfx.conf ${STAGEDIR}${DATADIR}/sfx + @${MKDIR} ${STAGEDIR}${DATADIR}/mod + ${INSTALL_DATA} ${MUSICSRC}/*.xm ${MUSICSRC}/sound.conf ${STAGEDIR}${DATADIR}/mod .include Modified: head/games/heroes/pkg-plist ============================================================================== --- head/games/heroes/pkg-plist Sat Nov 2 03:27:43 2013 (r332445) +++ head/games/heroes/pkg-plist Sat Nov 2 03:34:31 2013 (r332446) @@ -1,5 +1,7 @@ bin/heroes bin/heroeslvl +man/man6/heroes.6.gz +man/man6/heroeslvl.6.gz %%DATADIR%%/etc/heroesrc %%DATADIR%%/levels/level.lst %%DATADIR%%/levels/niv010.lvl