1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

graphics/wmicons: Add stage support, specify TAR for extraction

All distfiles are tar.gz.  Specify TAR rather than EXTRACT_CMD.
This commit is contained in:
John Marino 2014-05-30 21:49:50 +00:00
parent 282bd3a58e
commit c1ed46b329
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355918

View File

@ -24,12 +24,11 @@ GNU_CONFIGURE= yes
PORTDOCS= *
WRKSRC= ${WRKDIR}/WindowMaker-extra-0.1
WMICONDIR= ${PREFIX}/share/WindowMaker/Pixmaps
WMICONDIR= ${STAGEDIR}${PREFIX}/share/WindowMaker/Pixmaps
NO_STAGE= yes
post-extract:
${MKDIR} ${WRKDIR}/isiconpack4
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/isiconpack4.tgz \
${TAR} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/isiconpack4.tgz \
${EXTRACT_AFTER_ARGS} -C ${WRKDIR}/isiconpack4
post-install:
@ -54,23 +53,23 @@ post-install:
${INSTALL_DATA} *.tif ${WMICONDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/IconFest-1.2/README \
${DOCSDIR}/README.IconFest
${STAGEDIR}${DOCSDIR}/README.IconFest
${INSTALL_DATA} ${WRKDIR}/NeXT.XEmacs/README.NeXT.XEmacs \
${DOCSDIR}
${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/dwiconpack1/dwiconpack1.README \
${DOCSDIR}/README.dwiconpack1
${STAGEDIR}${DOCSDIR}/README.dwiconpack1
${INSTALL_DATA} ${WRKDIR}/dwiconpack2/dwiconpack2.README \
${DOCSDIR}/README.dwiconpack2
${STAGEDIR}${DOCSDIR}/README.dwiconpack2
${INSTALL_DATA} ${WRKDIR}/isiconpack4/CREDITS \
${DOCSDIR}
${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/japanese-step-icons/README.txt \
${DOCSDIR}/README.japanese-step-icons.txt
${STAGEDIR}${DOCSDIR}/README.japanese-step-icons.txt
${INSTALL_DATA} ${WRKDIR}/vf_png/README \
${DOCSDIR}/README.vf_png
${STAGEDIR}${DOCSDIR}/README.vf_png
${INSTALL_DATA} ${WRKDIR}/vf_tif/README \
${DOCSDIR}/README.vf_tif
${STAGEDIR}${DOCSDIR}/README.vf_tif
.endif
.include <bsd.port.mk>