aboutsummaryrefslogtreecommitdiff
path: root/cad/qcad-partslib
diff options
context:
space:
mode:
authorMichael Reifenberger <mr@FreeBSD.org>2005-11-23 16:55:27 +0000
committerMichael Reifenberger <mr@FreeBSD.org>2005-11-23 16:55:27 +0000
commite2365ff6abe2192e16d3dd441642f4c24972775d (patch)
treef5a123defbd7be8694e0099f1762a4d8696212b9 /cad/qcad-partslib
parent44d3f3ea413101640e25a02353db52659922226a (diff)
downloadports-e2365ff6abe2192e16d3dd441642f4c24972775d.tar.gz
ports-e2365ff6abe2192e16d3dd441642f4c24972775d.zip
Notes
Diffstat (limited to 'cad/qcad-partslib')
-rw-r--r--cad/qcad-partslib/Makefile12
-rw-r--r--cad/qcad-partslib/distinfo1
2 files changed, 6 insertions, 7 deletions
diff --git a/cad/qcad-partslib/Makefile b/cad/qcad-partslib/Makefile
index 35e368d1a127..c17ef95e676b 100644
--- a/cad/qcad-partslib/Makefile
+++ b/cad/qcad-partslib/Makefile
@@ -17,7 +17,7 @@ COMMENT= Professional CAD system
BUILD_DEPENDS= qcad:${PORTSDIR}/cad/qcad
WRKSRC= ${WRKDIR}/partlibrary-${PORTVERSION:S/.1$/-1/}
-DATADIR= ${PREFIX}/share/qcad/libraries
+DATADIR= ${PREFIX}/share/qcad/library
USE_X_PREFIX= yes
USE_ZIP= yes
@@ -28,14 +28,12 @@ PLIST= ${WRKDIR}/pkg-plist
.include <bsd.port.pre.mk>
pre-install:
- @${ECHO_CMD} '@exec mkdir -p %D/share/qcad/libraries' > ${PLIST}
- @${FIND} ${WRKSRC}/ -type f | \
- ${SED} -e "s:^${WRKSRC}/:share/qcad/libraries/:g" >> ${PLIST}
- @${FIND} -d ${WRKSRC} -type d | \
- ${SED} -e "s:^${WRKSRC}:@dirrm share/qcad/libraries:g" >> ${PLIST}
+ @${FIND} ${WRKSRC} -type f | \
+ ${SED} -e "s:^${WRKSRC}/:share/qcad/library/:g" > ${PLIST}
+ @${FIND} -d ${WRKSRC}/* -type d | \
+ ${SED} -e "s:^${WRKSRC}:@dirrm share/qcad/library:g" >> ${PLIST}
do-install:
- @${MKDIR} ${DATADIR}
${TAR} -C ${WRKSRC} --exclude CVS -cf - . | \
${TAR} -C ${DATADIR} --unlink -xf -
diff --git a/cad/qcad-partslib/distinfo b/cad/qcad-partslib/distinfo
index 2e1de290256c..6d12f0bcb308 100644
--- a/cad/qcad-partslib/distinfo
+++ b/cad/qcad-partslib/distinfo
@@ -1,2 +1,3 @@
MD5 (partlibrary-2.0.1.2-1.zip) = cac084e684bc286968beb6065aa96fb8
+SHA256 (partlibrary-2.0.1.2-1.zip) = 2d2c7ff18066127110426f0b182282fddbad6d4f36b853d010ed7a6b501500cd
SIZE (partlibrary-2.0.1.2-1.zip) = 12243050