Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2014 11:47:23 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343469 - head/textproc/exslt
Message-ID:  <201402091147.s19BlN7R089182@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Feb  9 11:47:22 2014
New Revision: 343469
URL: http://svnweb.freebsd.org/changeset/ports/343469
QAT: https://qat.redports.org/buildarchive/r343469/

Log:
  - Remove infozip dependency
  - Simplify installation using COPYTREE_SHARE
  - Replace broken plist generation with PORTDATA=*

Modified:
  head/textproc/exslt/Makefile

Modified: head/textproc/exslt/Makefile
==============================================================================
--- head/textproc/exslt/Makefile	Sun Feb  9 11:41:41 2014	(r343468)
+++ head/textproc/exslt/Makefile	Sun Feb  9 11:47:22 2014	(r343469)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402091147.s19BlN7R089182>