Date: Fri, 11 Apr 2014 17:03:56 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351011 - head/games/ensemblist Message-ID: <201404111703.s3BH3upj045838@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Fri Apr 11 17:03:56 2014 New Revision: 351011 URL: http://svnweb.freebsd.org/changeset/ports/351011 QAT: https://qat.redports.org/buildarchive/r351011/ Log: - Add staging support - Convert to new LIB_DEPENDS format, USES=gmake - Use PORTDATA - Define DOCS option Modified: head/games/ensemblist/Makefile Modified: head/games/ensemblist/Makefile ============================================================================== --- head/games/ensemblist/Makefile Fri Apr 11 17:03:00 2014 (r351010) +++ head/games/ensemblist/Makefile Fri Apr 11 17:03:56 2014 (r351011) @@ -11,38 +11,25 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Assemble given shapes from primitives -LIB_DEPENDS= mikmod.2:${PORTSDIR}/audio/libmikmod \ - png15:${PORTSDIR}/graphics/png +LIB_DEPENDS= libmikmod.so:${PORTSDIR}/audio/libmikmod \ + libpng15.so:${PORTSDIR}/graphics/png -USE_GMAKE= yes +USES= gmake USE_XORG= xmu USE_GL= glut MAKE_ARGS= CC="${CC}" DATADIR="${DATADIR}" -PLIST= ${WRKDIR}/pkg-plist - -PLIST_FILES= bin/ensemblist -PLIST_DIRS= %%DATADIR%% -MAN6= ensemblist.6 +PLIST_FILES= bin/ensemblist man/man6/ensemblist.6.gz +PORTDATA= * PORTDOCS= * -NO_STAGE= yes -pre-install: - @${RM} -f ${PLIST} - @${FIND} ${WRKSRC}/datas -type f | ${SORT} \ - | ${SED} -e 's|^${WRKSRC}/datas|%%DATADIR%%|' >> ${PLIST} +OPTIONS_DEFINE= DOCS do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/datas/* ${DATADIR} - -.ifndef (NOPORTDOCS) - cd ${WRKSRC}/html && \ - ${FIND} * -type d -exec ${MKDIR} "${DOCSDIR}/{}" \; && \ - ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \; -.endif - - ${INSTALL_MAN} ${WRKSRC}/ensemblist.6 ${MAN6PREFIX}/man/man6 + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/datas/* ${STAGEDIR}${DATADIR} + (cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + ${INSTALL_MAN} ${WRKSRC}/ensemblist.6 ${STAGEDIR}${MAN6PREFIX}/man/man6 .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404111703.s3BH3upj045838>