Date: Mon, 4 Nov 2013 18:50:32 +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: r332756 - head/games/miscom Message-ID: <201311041850.rA4IoW4T091997@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danilo Date: Mon Nov 4 18:50:32 2013 New Revision: 332756 URL: http://svnweb.freebsd.org/changeset/ports/332756 Log: - Add LICENSE - Add stage support - Add DOCS option - Use DOCSDIR and DATADIR in pkg-plist Modified: head/games/miscom/Makefile head/games/miscom/pkg-plist Modified: head/games/miscom/Makefile ============================================================================== --- head/games/miscom/Makefile Mon Nov 4 18:41:08 2013 (r332755) +++ head/games/miscom/Makefile Mon Nov 4 18:50:32 2013 (r332756) @@ -11,32 +11,29 @@ DISTNAME= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Atari "Missile Command" clone +LICENSE= GPLv2 + ALL_TARGET= -WRKSRC= ${WRKDIR}/miscom -MAN6= miscom.6 -NO_STAGE= yes +MAKE_ARGS= CC="${CC}" DATADIR="${DATADIR}" \ + CFLAGS="${CFLAGS}" + +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .if ${ARCH} == "i386" CFLAGS+= -DSOUNDSDIR='\"$(DATADIR)\"' -DSOUND_SUPPORT -DMORE_SOUNDBUF .endif -MAKE_ARGS= CC="${CC}" DATADIR="${DATADIR}" \ - CFLAGS="${CFLAGS}" - do-install: - @ ${INSTALL_PROGRAM} ${WRKSRC}/miscom ${PREFIX}/bin - @ ${INSTALL_MAN} ${WRKSRC}/${MAN6} ${PREFIX}/man/man6 - @ ${MKDIR} ${PREFIX}/share/miscom - @ ${INSTALL_DATA} ${WRKSRC}/sounds/* ${PREFIX}/share/miscom - -post-install: -.if !defined(NOPORTDOCS) - @ ${MKDIR} ${PREFIX}/share/doc/miscom + ${INSTALL_PROGRAM} ${WRKSRC}/miscom ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/miscom.6 ${STAGEDIR}${PREFIX}/man/man6 + @${MKDIR} ${STAGEDIR}${PREFIX}/share/miscom + ${INSTALL_DATA} ${WRKSRC}/sounds/* ${STAGEDIR}${PREFIX}/share/miscom + @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/miscom .for file in COPYING ChangeLog README TODO - @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/miscom + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/share/doc/miscom .endfor -.endif .include <bsd.port.post.mk> Modified: head/games/miscom/pkg-plist ============================================================================== --- head/games/miscom/pkg-plist Mon Nov 4 18:41:08 2013 (r332755) +++ head/games/miscom/pkg-plist Mon Nov 4 18:50:32 2013 (r332756) @@ -1,13 +1,14 @@ bin/miscom -%%PORTDOCS%%share/doc/miscom/COPYING -%%PORTDOCS%%share/doc/miscom/ChangeLog -%%PORTDOCS%%share/doc/miscom/README -%%PORTDOCS%%share/doc/miscom/TODO -share/miscom/citybang.raw -share/miscom/explode.raw -share/miscom/gameover.raw -share/miscom/launch.raw -share/miscom/levelend.raw -share/miscom/levelst.raw -%%PORTDOCS%%@dirrm share/doc/miscom -@dirrm share/miscom +man/man6/miscom.6.gz +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%DATADIR%%/citybang.raw +%%DATADIR%%/explode.raw +%%DATADIR%%/gameover.raw +%%DATADIR%%/launch.raw +%%DATADIR%%/levelend.raw +%%DATADIR%%/levelst.raw +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%DATADIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311041850.rA4IoW4T091997>