Date: Sun, 8 Dec 2013 19:52:33 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335934 - head/games/starfighter Message-ID: <201312081952.rB8JqXq1023408@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nemysis Date: Sun Dec 8 19:52:32 2013 New Revision: 335934 URL: http://svnweb.freebsd.org/changeset/ports/335934 Log: - Change master sites - Change maintainer email to @FreeBSD.org - USES gmake instead of USE_GMAKE - Change desktop entry - Fix DOCS, add Option - Change REINPLACE_CMD - Use PLIST_FILES and PLIST_DIRS instead of pkg-plist Approved by: pawel / wg (mentors, implicit) Deleted: head/games/starfighter/pkg-plist Modified: head/games/starfighter/Makefile Modified: head/games/starfighter/Makefile ============================================================================== --- head/games/starfighter/Makefile Sun Dec 8 19:49:52 2013 (r335933) +++ head/games/starfighter/Makefile Sun Dec 8 19:52:32 2013 (r335934) @@ -6,46 +6,55 @@ PORTVERSION= 1.2 PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/pr-${PORTNAME}/ \ - SF/nemysisfreebsdp/:icons + SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}.png:icons DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} -MAINTAINER= nemysis@gmx.ch +MAINTAINER= nemysis@FreeBSD.org COMMENT= Liberate the universe from the evil company WEAPCO LICENSE= GPLv2 -USES= iconv +USES= gmake iconv USE_XORG= x11 xau xdmcp USE_SDL= image mixer WITH_ZLIB= yes -USE_GMAKE= yes MAKEFILE= makefile INSTALLS_ICONS= yes -DESKTOP_ENTRIES="Project Starfighter" "${COMMENT}" "${PORTNAME}" \ - "${PORTNAME}" "Game;ArcadeGame;" ${FALSE} +PLIST_FILES= bin/${PORTNAME} \ + share/pixmaps/${PORTNAME}.png \ + %%DATADIR%%/${PORTNAME}.pak +PLIST_DIRS= %%DATADIR%% + +PORTDOCS= index.html + +OPTIONS_DEFINE= DOCS + +DESKTOP_ENTRIES="Project Starfighter" "" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" "" -NO_STAGE= yes .include <bsd.port.options.mk> post-patch: @${REINPLACE_CMD} \ - -e 's| -O2 -Wall|${CXXFLAGS}|' \ - -e 's|docs/\*|docs/index.html|' \ - -e 's|/usr|${LOCALBASE}|' \ - -e 's|$$(PREFIX)/games/|$$(PREFIX)/bin/|' \ - -e 's|/share/games/parallelrealities/|/share/starfighter/|' \ + -e 's|mkdir -p $$(DESTDIR)$$(DOCDIR)|| ; \ + s|cp -p $$(DOCS) $$(DESTDIR)$$(DOCDIR)|| ; \ + s| -O2 -Wall|${CXXFLAGS}| ; \ + s|docs/\*|docs/index.html| ; \ + s|/usr|${LOCALBASE}| ; \ + s|$$(PREFIX)/games/|$$(PREFIX)/bin/| ; \ + s|/share/games/parallelrealities/|/share/starfighter/|' \ ${WRKSRC}/makefile -.if !${PORT_OPTIONS:MDOCS} - @${REINPLACE_CMD} -i '' -e '/$$(DESTDIR)$$(DOCDIR)/d' ${WRKSRC}/makefile -.endif - post-install: - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312081952.rB8JqXq1023408>