svn commit: r390172 - head/cad/qcad-partslib
Baptiste Daroussin
bapt at FreeBSD.org
Sat Jun 20 17:27:12 UTC 2015
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>
More information about the svn-ports-all
mailing list