Changeset View
Changeset View
Standalone View
Standalone View
head/misc/figlet-fonts/Makefile
Show All 14 Lines | |||||
NO_BUILD= yes | NO_BUILD= yes | ||||
NO_WRKSUBDIR= yes | NO_WRKSUBDIR= yes | ||||
DATADIR= ${PREFIX}/share/figlet | DATADIR= ${PREFIX}/share/figlet | ||||
PLIST_SUB= DATADIR=${DATADIR:S|^${PREFIX}/||} | PLIST_SUB= DATADIR=${DATADIR:S|^${PREFIX}/||} | ||||
post-extract: | post-extract: | ||||
@cd ${WRKDIR}/contributed && \ | @cd ${WRKSRC}/contributed && \ | ||||
${TAR} xf Obanner-canon.tgz -C ${WRKDIR}/contributed/ && \ | ${TAR} xf Obanner-canon.tgz -C ${WRKSRC}/contributed/ && \ | ||||
${MV} ./Obanner-canon/* ${WRKDIR}/contributed/ && \ | ${MV} ./Obanner-canon/* ${WRKSRC}/contributed/ && \ | ||||
${RMDIR} ./Obanner-canon && \ | ${RMDIR} ./Obanner-canon && \ | ||||
${RM} -f Obanner-canon.tgz && \ | ${RM} -f Obanner-canon.tgz && \ | ||||
${TAR} xf Obanner.tgz -C ${WRKDIR}/contributed/ && \ | ${TAR} xf Obanner.tgz -C ${WRKSRC}/contributed/ && \ | ||||
${MV} ./Obanner/* ${WRKDIR}/contributed/ && \ | ${MV} ./Obanner/* ${WRKSRC}/contributed/ && \ | ||||
${RMDIR} ./Obanner && \ | ${RMDIR} ./Obanner && \ | ||||
${RM} -f Obanner.tgz && \ | ${RM} -f Obanner.tgz && \ | ||||
${MV} ./C64-fonts/* ${WRKDIR}/contributed/ && \ | ${MV} ./C64-fonts/* ${WRKSRC}/contributed/ && \ | ||||
${RMDIR} ./C64-fonts && \ | ${RMDIR} ./C64-fonts && \ | ||||
${MV} ./bdffonts/* ${WRKDIR}/contributed/ && \ | ${MV} ./bdffonts/* ${WRKSRC}/contributed/ && \ | ||||
${RMDIR} ./bdffonts | ${RMDIR} ./bdffonts | ||||
@cd ${WRKDIR}/international && \ | @cd ${WRKSRC}/international && \ | ||||
${TAR} xf cjkfonts.tar.gz -C ${WRKDIR}/international/ && \ | ${TAR} xf cjkfonts.tar.gz -C ${WRKSRC}/international/ && \ | ||||
${RM} -f cjkfonts.tar.gz | ${RM} -f cjkfonts.tar.gz | ||||
@${RM} -f ${WRKDIR}/contributed/banner.flf | @${RM} -f ${WRKSRC}/contributed/banner.flf | ||||
do-install: | do-install: | ||||
.for f in contributed international | .for f in contributed international | ||||
@cd ${WRKDIR}/${f} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} | @cd ${WRKSRC}/${f} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} | ||||
.endfor | .endfor | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |