Date: Wed, 30 Oct 2013 15:33:00 +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: r332130 - head/games/fillets-ng Message-ID: <201310301533.r9UFX0CV032693@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Oct 30 15:33:00 2013 New Revision: 332130 URL: http://svnweb.freebsd.org/changeset/ports/332130 Log: - Support staging - Convert USE_GMAKE to USES - Use new LIB_DEPENDS syntax Modified: head/games/fillets-ng/Makefile Modified: head/games/fillets-ng/Makefile ============================================================================== --- head/games/fillets-ng/Makefile Wed Oct 30 15:26:19 2013 (r332129) +++ head/games/fillets-ng/Makefile Wed Oct 30 15:33:00 2013 (r332130) @@ -15,22 +15,21 @@ COMMENT= A wonderful puzzle game USE_SDL= sdl mixer image ttf USE_LUA= 5.1 -USE_GMAKE= yes +USES= gmake GNU_CONFIGURE= yes CPPFLAGS+= -I${LUA_INCDIR} LDFLAGS+= -L${LUA_LIBDIR} CONFIGURE_ARGS= --datadir="${DATADIR}" --with-lua="${LOCALBASE}" + +PLIST_FILES= bin/fillets man/man6/fillets.6.gz + PORTDOCS= * PORTDATA= * -PLIST_FILES= bin/fillets - DATAVERSION= 1.0.0 ONLY_FOR_ARCHS= i386 amd64 -MAN6= fillets.6 - DESKTOP_ENTRIES="Fish Fillets - Next Generation" \ "A wonderful puzzle game" \ "${DATADIR}/images/icon.png" \ @@ -38,13 +37,13 @@ DESKTOP_ENTRIES="Fish Fillets - Next Gen "Game;LogicGame;" \ false -OPTIONS_DEFINE= FRIBIDI +OPTIONS_DEFINE= DOCS FRIBIDI +OPTIONS_DEFAULT=DOCS FRIBIDI -NO_STAGE= yes .include <bsd.port.pre.mk> .if ${PORT_OPTIONS:MFRIBIDI} -LIB_DEPENDS+= fribidi:${PORTSDIR}/converters/fribidi +LIB_DEPENDS+= libfribidi.so:${PORTSDIR}/converters/fribidi .endif post-patch: @@ -59,15 +58,9 @@ post-patch: .endif post-install: -.if !defined(NOPORTDATA) - ${MKDIR} ${DATADIR} cd ${WRKDIR}/${PORTNAME}-data-${DATAVERSION} && \ - ${COPYTREE_SHARE} "font images music script sound" ${DATADIR} -.endif -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - @cd ${WRKDIR}/${PORTNAME}-data-${DATAVERSION}/doc; \ - ${COPYTREE_SHARE} "*" ${DOCSDIR} -.endif + ${COPYTREE_SHARE} "font images music script sound" ${STAGEDIR}${DATADIR}/ + cd ${WRKDIR}/${PORTNAME}-data-${DATAVERSION}/doc && \ + ${COPYTREE_SHARE} "*" ${STAGEDIR}${DOCSDIR}/ .include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310301533.r9UFX0CV032693>