aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-06-20 17:27:11 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-06-20 17:27:11 +0000
commit35b70af675a79f8f31c9e99b458b68be36efe025 (patch)
tree7d6c622476f3a73fcea5545052a3f8d099ca40c3 /cad
parent9511af57761992c068e5a583916853120960c6f1 (diff)
downloadports-35b70af675a79f8f31c9e99b458b68be36efe025.tar.gz
ports-35b70af675a79f8f31c9e99b458b68be36efe025.zip
Notes
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)