Date: Wed, 30 Oct 2013 15:59:37 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332138 - head/games/spacejunk Message-ID: <201310301559.r9UFxb7L040436@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Oct 30 15:59:36 2013 New Revision: 332138 URL: http://svnweb.freebsd.org/changeset/ports/332138 Log: - Support staging Deleted: head/games/spacejunk/pkg-plist Modified: head/games/spacejunk/Makefile Modified: head/games/spacejunk/Makefile ============================================================================== --- head/games/spacejunk/Makefile Wed Oct 30 15:59:07 2013 (r332137) +++ head/games/spacejunk/Makefile Wed Oct 30 15:59:36 2013 (r332138) @@ -21,16 +21,20 @@ LDFLAGS+= -L${LOCALBASE}/lib SUB_FILES= spacejunk +PLIST_FILES= bin/${PORTNAME} libexec/${PORTNAME} PORTDOCS= * +PORTDATA= * -DESKTOP_ENTRIES= "Spacejunk" \ - "Collect garbage by navigating through the gravitational fields of planets and stars" \ - "" \ - "spacejunk" \ - "Game;ArcadeGame;" \ - false +DESKTOP_ENTRIES="Spacejunk" \ + "Collect garbage by navigating through the gravitational fields of planets and stars" \ + "${DATADIR}/data/art/spacejunk_icon.png" \ + "spacejunk" \ + "Game;ArcadeGame;" \ + false + +OPTIONS_DEFINE= DOCS +OPTIONS_DEFAULT=DOCS -NO_STAGE= yes .include <bsd.port.options.mk> .if ${ARCH} == "sparc64" @@ -43,13 +47,9 @@ post-patch: @${REINPLACE_CMD} -e 's|data/|${DATADIR}/&|' ${WRKSRC}/src/*.c* do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/spacejunk ${PREFIX}/libexec/ - ${MKDIR} ${DATADIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} 'data config.txt' ${DATADIR}/ - ${INSTALL_SCRIPT} ${WRKDIR}/spacejunk ${PREFIX}/bin/ -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - cd ${WRKSRC}/doc && ${COPYTREE_SHARE} '*' ${DOCSDIR}/ -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/src/spacejunk ${STAGEDIR}${PREFIX}/libexec/ + cd ${WRKSRC} && ${COPYTREE_SHARE} 'data config.txt' ${STAGEDIR}${DATADIR}/ + ${INSTALL_SCRIPT} ${WRKDIR}/spacejunk ${STAGEDIR}${PREFIX}/bin/ + cd ${WRKSRC}/doc && ${COPYTREE_SHARE} '*' ${STAGEDIR}${DOCSDIR}/ .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310301559.r9UFxb7L040436>