Date: Mon, 4 Nov 2013 21:13:40 +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: r332784 - head/games/omega Message-ID: <201311042113.rA4LDe0W043822@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danilo Date: Mon Nov 4 21:13:39 2013 New Revision: 332784 URL: http://svnweb.freebsd.org/changeset/ports/332784 Log: - Add stage support - Convert USE_GMAKE to USES Modified: head/games/omega/Makefile head/games/omega/pkg-plist Modified: head/games/omega/Makefile ============================================================================== --- head/games/omega/Makefile Mon Nov 4 20:59:58 2013 (r332783) +++ head/games/omega/Makefile Mon Nov 4 21:13:39 2013 (r332784) @@ -10,36 +10,23 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= ports@FreeBSD.org COMMENT= Complex rogue-style game of dungeon exploration -USES= gmake # to allow -jX builds (rules with multiple outputs) +USES= gmake WRKSRC= ${WRKDIR}/${PORTNAME} ALL_TARGET= # empty CFLAGS+= -Wno-return-type -MAN6= omega.6 MYPORTDOCS= buglist.txt docs/compile.all docs/omega.txt docs/readme.1st \ docs/readme3 docs/readme4 OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include <bsd.port.options.mk> - do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/omega ${PREFIX}/bin/omega-game - @${CHOWN} root:games ${PREFIX}/bin/omega-game - @${CHMOD} 2711 ${PREFIX}/bin/omega-game - ${INSTALL_MAN} ${WRKSRC}/docs/omega.6 ${MANPREFIX}/man/man6 - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/lib/* ${DATADIR} - @${RM} ${DATADIR}/license.old - @${CHMOD} 0460 ${DATADIR}/omega.hi - @${CHMOD} 0460 ${DATADIR}/omega.log - ${CP} ${DATADIR}/omega.hi ${DATADIR}/omegahi.bak - @${CHMOD} 0460 ${DATADIR}/omegahi.bak - @${CHOWN} -R root:games ${DATADIR} -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${MYPORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/omega ${STAGEDIR}${PREFIX}/bin/omega-game + ${INSTALL_MAN} ${WRKSRC}/docs/omega.6 ${STAGEDIR}${MANPREFIX}/man/man6 + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/lib/* ${STAGEDIR}${DATADIR} + ${CP} ${STAGEDIR}${DATADIR}/omega.hi ${STAGEDIR}${DATADIR}/omegahi.bak + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${MYPORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> Modified: head/games/omega/pkg-plist ============================================================================== --- head/games/omega/pkg-plist Mon Nov 4 20:59:58 2013 (r332783) +++ head/games/omega/pkg-plist Mon Nov 4 21:13:39 2013 (r332784) @@ -1,19 +1,21 @@ -@owner games @group games -@mode 4711 +@mode 2711 bin/omega-game -@mode 666 +@mode +@group +@mode 460 %%DATADIR%%/omega.hi %%DATADIR%%/omega.log -@mode 600 %%DATADIR%%/omegahi.bak @mode +man/man6/omega.6.gz %%PORTDOCS%%%%DOCSDIR%%/buglist.txt %%PORTDOCS%%%%DOCSDIR%%/compile.all %%PORTDOCS%%%%DOCSDIR%%/omega.txt %%PORTDOCS%%%%DOCSDIR%%/readme.1st %%PORTDOCS%%%%DOCSDIR%%/readme3 %%PORTDOCS%%%%DOCSDIR%%/readme4 +@group games %%DATADIR%%/abyss.dat %%DATADIR%%/abyss.txt %%DATADIR%%/arena.dat @@ -40,6 +42,7 @@ bin/omega-game %%DATADIR%%/home3.dat %%DATADIR%%/intro.txt %%DATADIR%%/lgpl.txt +%%DATADIR%%/license.old %%DATADIR%%/license.txt %%DATADIR%%/maze1.dat %%DATADIR%%/maze2.dat @@ -61,5 +64,6 @@ bin/omega-game %%DATADIR%%/village4.dat %%DATADIR%%/village5.dat %%DATADIR%%/village6.dat -%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm %%DATADIR%% +@group +%%PORTDOCS%%@dirrm %%DOCSDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311042113.rA4LDe0W043822>