aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/exslt
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-09 19:47:22 +0800
committerantoine <antoine@FreeBSD.org>2014-02-09 19:47:22 +0800
commit751fe74efa5c730429c63d6f9397874801b852f7 (patch)
treef093f494d5753e15e895292dbbcfaa5959435395 /textproc/exslt
parent1373d2f5996172528b22e69c50158fbf62c67190 (diff)
downloadfreebsd-ports-gnome-751fe74efa5c730429c63d6f9397874801b852f7.tar.gz
freebsd-ports-gnome-751fe74efa5c730429c63d6f9397874801b852f7.tar.zst
freebsd-ports-gnome-751fe74efa5c730429c63d6f9397874801b852f7.zip
- Remove infozip dependency
- Simplify installation using COPYTREE_SHARE - Replace broken plist generation with PORTDATA=*
Diffstat (limited to 'textproc/exslt')
-rw-r--r--textproc/exslt/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/textproc/exslt/Makefile b/textproc/exslt/Makefile
index 45d0b8d2a72d..a38440684427 100644
--- a/textproc/exslt/Makefile
+++ b/textproc/exslt/Makefile
@@ -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>