Date: Sat, 22 Sep 2012 19:52:31 +0000 (UTC) From: Boris Samorodov <bsam@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r304719 - head/games/patapizza-tetris Message-ID: <201209221952.q8MJqVFL029817@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bsam Date: Sat Sep 22 19:52:31 2012 New Revision: 304719 URL: http://svn.freebsd.org/changeset/ports/304719 Log: . remove options (the port should not be used without DATA); . simplify DOC installation. Submitted by: nemysis@gmx.ch (maintainer, via e-mail) Modified: head/games/patapizza-tetris/Makefile Modified: head/games/patapizza-tetris/Makefile ============================================================================== --- head/games/patapizza-tetris/Makefile Sat Sep 22 19:46:26 2012 (r304718) +++ head/games/patapizza-tetris/Makefile Sat Sep 22 19:52:31 2012 (r304719) @@ -12,9 +12,6 @@ COMMENT= Unofficial clone of the origina LICENSE= GPLv3 -OPTIONS_DEFINE= DATA -OPTIONS_DEFAULT=DATA - FETCH_ARGS?= -Fpr USE_GMAKE= yes USE_SDL= sdl image gfx ttf @@ -27,11 +24,11 @@ PORTDOCS= README.md SUB_FILES= ${PORTNAME}.sh -post-patch: - ${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKSRC}/Makefile - .include <bsd.port.options.mk> +post-patch: + ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile + do-build: cd ${WRKSRC} && ${CC} -o ${PORTNAME} ${CFLAGS} \ -DDATA_PREFIX=\"${DATADIR}/\" \ @@ -46,9 +43,7 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${DATADIR} # Data -.if ${PORT_OPTIONS:MDATA} @(cd ${WRKSRC} && ${COPYTREE_SHARE} images ${DATADIR}) -.endif # Pixmaps ${INSTALL_DATA} ${WRKSRC}/images/logo.png ${PREFIX}/share/pixmaps/${PORTNAME}.png @@ -56,9 +51,7 @@ do-install: # Documentation .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} -. for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -. endfor + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209221952.q8MJqVFL029817>