aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-06-21 01:27:11 +0800
committerbapt <bapt@FreeBSD.org>2015-06-21 01:27:11 +0800
commit2b18cd8a31c61e4c72d92756f682ef6ff04d3e43 (patch)
tree7d6c622476f3a73fcea5545052a3f8d099ca40c3 /cad
parentb666d3393c11395bfe9fe20043dc44776bc85d49 (diff)
downloadfreebsd-ports-gnome-2b18cd8a31c61e4c72d92756f682ef6ff04d3e43.tar.gz
freebsd-ports-gnome-2b18cd8a31c61e4c72d92756f682ef6ff04d3e43.tar.zst
freebsd-ports-gnome-2b18cd8a31c61e4c72d92756f682ef6ff04d3e43.zip
Remove all @dirrm/@dirrmtry
Remove useless exec/unexec
Diffstat (limited to 'cad')
-rw-r--r--cad/qcad-partslib/Makefile13
-rw-r--r--cad/qcad-partslib/pkg-plist2
2 files changed, 4 insertions, 11 deletions
diff --git a/cad/qcad-partslib/Makefile b/cad/qcad-partslib/Makefile
index a374aff0e20e..3c68f3d5a745 100644
--- a/cad/qcad-partslib/Makefile
+++ b/cad/qcad-partslib/Makefile
@@ -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>
diff --git a/cad/qcad-partslib/pkg-plist b/cad/qcad-partslib/pkg-plist
deleted file mode 100644
index 0a3c6f65e26b..000000000000
--- a/cad/qcad-partslib/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-@exec mkdir -p share/qcad/library
-@comment The rest is auto-populated during install (thousands of items)