diff options
-rw-r--r-- | games/ensemblist/Makefile | 35 |
1 files changed, 11 insertions, 24 deletions
diff --git a/games/ensemblist/Makefile b/games/ensemblist/Makefile index 798c521e33e1..48ce07c65e4b 100644 --- a/games/ensemblist/Makefile +++ b/games/ensemblist/Makefile @@ -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> |