Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2015 17:27:12 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r390172 - head/cad/qcad-partslib
Message-ID:  <201506201727.t5KHRCFX061143@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Jun 20 17:27:11 2015
New Revision: 390172
URL: https://svnweb.freebsd.org/changeset/ports/390172

Log:
  Remove all @dirrm/@dirrmtry
  Remove useless exec/unexec

Deleted:
  head/cad/qcad-partslib/pkg-plist
Modified:
  head/cad/qcad-partslib/Makefile

Modified: head/cad/qcad-partslib/Makefile
==============================================================================
--- head/cad/qcad-partslib/Makefile	Sat Jun 20 17:15:32 2015	(r390171)
+++ head/cad/qcad-partslib/Makefile	Sat Jun 20 17:27:11 2015	(r390172)
@@ -3,7 +3,7 @@
 
 PORTNAME=	qcad-partslib
 PORTVERSION=	2.1.2.8.1
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	cad
 MASTER_SITES=	ftp://www.ribbonsoft.com/archives/partlibrary/
 DISTNAME=	partlibrary-${PORTVERSION:S/.1$/-1/}
@@ -19,21 +19,16 @@ NO_BUILD=	yes
 
 do-install:
 	@${MKDIR} ${STAGEDIR}/${PREFIX}/${DATADIR}
-	${TAR} -C ${STAGEDIR}/${PREFIX}/${DATADIR} --exclude CVS --unlink --strip-components 1  \
-		-xovf ${_DISTDIR}${DISTFILES} 2>&1 | ${AWK} '	\
+	${TAR} -C ${STAGEDIR}/${PREFIX}/${DATADIR} --exclude CVS --unlink --strip-components 1 \
+		-xvof ${_DISTDIR}${DISTFILES} 2>&1 | ${AWK} '	\
 			$$1 != "x" {				\
 				print "ERROR: " $$0 > "/dev/stderr"; exit 1	\
 			} {					\
 				if (sub("/$$", "", $$2))	\
-					dirs[$$2] = 1;		\
+					next ;			\
 				else if ($$2 != "")		\
 					print "${DATADIR}/" $$2;	\
 				next	\
-			} END {					\
-				for (d in dirs)			\
-					print "@dirrm ${DATADIR}/" d |"sort -r"	\
 			}' >> ${TMPPLIST}
-	@${ECHO_CMD} '@dirrm ${DATADIR}' >> ${TMPPLIST}
-	@${ECHO_CMD} '@unexec ${RMDIR} %D/${DATADIR:H} 2> /dev/null || true' >> ${TMPPLIST}
 
 .include <bsd.port.mk>



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