Date: Fri, 1 Nov 2013 13:49:16 +0000 (UTC) From: Danilo Egea Gondolfo <danilo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332374 - head/games/fargoal Message-ID: <201311011349.rA1DnGqp001992@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danilo Date: Fri Nov 1 13:49:16 2013 New Revision: 332374 URL: http://svnweb.freebsd.org/changeset/ports/332374 Log: - Add stage support - Convert USE_GMAKE to USES - Convert LIB_DEPENDS to new syntax Modified: head/games/fargoal/Makefile Modified: head/games/fargoal/Makefile ============================================================================== --- head/games/fargoal/Makefile Fri Nov 1 13:49:06 2013 (r332373) +++ head/games/fargoal/Makefile Fri Nov 1 13:49:16 2013 (r332374) @@ -11,35 +11,27 @@ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Remake of classic roguelike game "Sword of Fargoal" -LIB_DEPENDS= alleg:${PORTSDIR}/devel/allegro +LIB_DEPENDS= liballeg.so:${PORTSDIR}/devel/allegro WRKSRC= ${WRKDIR}/${PORTNAME}/src USE_ZIP= yes -USE_GMAKE= yes +USES= gmake SUB_FILES= ${PORTNAME}-sh -NO_STAGE= yes do-install: -# Script - @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-sh ${PREFIX}/bin/${PORTNAME} - -# Program - @${INSTALL_PROGRAM} ${WRKSRC}/../sword ${PREFIX}/libexec/${PORTNAME} - -# Data + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${INSTALL_PROGRAM} ${WRKSRC}/../sword ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} .for f in agreement.txt data gfx sfx - @${MKDIR} ${DATADIR} - @${CP} -R ${WRKSRC}/../${f} ${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR} + ${CP} -R ${WRKSRC}/../${f} ${STAGEDIR}${DATADIR} .endfor post-install: -# Fix permissions - @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR} - @${FIND} ${DATADIR} -type f -print0 | \ + @${FIND} ${STAGEDIR}${DATADIR} -type f -print0 | \ ${XARGS} -0 ${CHMOD} ${SHAREMODE} - @${FIND} ${DATADIR} -type d -print0 | \ + @${FIND} ${STAGEDIR}${DATADIR} -type d -print0 | \ ${XARGS} -0 ${CHMOD} ${BINMODE} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311011349.rA1DnGqp001992>