1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

fix pkg-plist

add sha265 checksum
This commit is contained in:
Michael Reifenberger 2005-11-23 16:55:27 +00:00
parent 44d3f3ea41
commit e2365ff6ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=149195
2 changed files with 6 additions and 7 deletions

View File

@ -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 -

View File

@ -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