diff options
Diffstat (limited to 'cad')
-rw-r--r-- | cad/qcad-partslib/Makefile | 13 | ||||
-rw-r--r-- | cad/qcad-partslib/pkg-plist | 2 |
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) |