diff options
author | mr <mr@FreeBSD.org> | 2005-11-24 00:55:27 +0800 |
---|---|---|
committer | mr <mr@FreeBSD.org> | 2005-11-24 00:55:27 +0800 |
commit | 2d95b1b85d33278561fc8ceabcac771c55b25be2 (patch) | |
tree | 088e55de0c259c0a4803ec9894063370211235d6 | |
parent | f4695ef84b2348996e42ff70b92b2ecdec595184 (diff) | |
download | freebsd-ports-graphics-2d95b1b85d33278561fc8ceabcac771c55b25be2.tar.gz freebsd-ports-graphics-2d95b1b85d33278561fc8ceabcac771c55b25be2.tar.zst freebsd-ports-graphics-2d95b1b85d33278561fc8ceabcac771c55b25be2.zip |
fix pkg-plist
add sha265 checksum
-rw-r--r-- | cad/qcad-partslib/Makefile | 12 | ||||
-rw-r--r-- | cad/qcad-partslib/distinfo | 1 |
2 files changed, 6 insertions, 7 deletions
diff --git a/cad/qcad-partslib/Makefile b/cad/qcad-partslib/Makefile index 35e368d1a12..c17ef95e676 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 2e1de290256..6d12f0bcb30 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 |