- Remove infozip dependency
- Simplify installation using COPYTREE_SHARE - Replace broken plist generation with PORTDATA=*
This commit is contained in:
parent
7fd3686fd4
commit
56a322f266
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343469
1 changed files with 4 additions and 11 deletions
|
@ -3,31 +3,24 @@
|
|||
|
||||
PORTNAME= exslt
|
||||
PORTVERSION= 2003.10.24
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= http://www.exslt.org/
|
||||
DISTNAME= all-${PORTNAME}
|
||||
EXTRACT_SUFX= .zip
|
||||
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= hq@FreeBSD.org
|
||||
COMMENT= Community initiative extensions to XSLT
|
||||
|
||||
USE_ZIP= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
DATAFILES= base.css date dyn exsl func howto.html index.html math random regexp set str
|
||||
PORTDATA= *
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
cd ${WRKSRC} && \
|
||||
${FIND} ${DATAFILES} -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/{}" \; && \
|
||||
${FIND} ${DATAFILES} ! -type d -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;
|
||||
|
||||
post-install:
|
||||
@${FIND} -s ${STAGEDIR}${DATAFILES:S/^/${DATADIR}\//} ! -type d 2>/dev/null | \
|
||||
${SED} -ne 's,^${STAGEDIR}${PREFIX}/,,p' >> ${TMPPLIST}
|
||||
@${FIND} -s -d ${STAGEDIR}${DATAFILES:S/^/${DATADIR}\//} -type d 2>/dev/null | \
|
||||
${SED} -ne 's,^${STAGEDIR}${PREFIX}/,@dirrm ,p' >> ${TMPPLIST}
|
||||
@${ECHO_CMD} '@dirrm ${DATADIR:S,^${PREFIX}/,,}' >> ${TMPPLIST}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} "${DATAFILES}" ${STAGEDIR}${DATADIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue