diff options
author | Michael Reifenberger <mr@FreeBSD.org> | 2004-03-28 12:07:02 +0000 |
---|---|---|
committer | Michael Reifenberger <mr@FreeBSD.org> | 2004-03-28 12:07:02 +0000 |
commit | 08724750f34e9b65c1b0df882d7e9dff6ee18bf4 (patch) | |
tree | 9161cb5728e1873e0c44e6a44f128dfbca21d119 /cad/qcad-partslib | |
parent | 730cb5cf74f2feccd40ba2ec579c7996cd309e4a (diff) |
add qcad-partslib the parts-library for qcad.
Notes
Notes:
svn path=/head/; revision=105493
Diffstat (limited to 'cad/qcad-partslib')
-rw-r--r-- | cad/qcad-partslib/Makefile | 41 | ||||
-rw-r--r-- | cad/qcad-partslib/distinfo | 2 | ||||
-rw-r--r-- | cad/qcad-partslib/pkg-descr | 3 |
3 files changed, 46 insertions, 0 deletions
diff --git a/cad/qcad-partslib/Makefile b/cad/qcad-partslib/Makefile new file mode 100644 index 000000000000..00a71ace88c5 --- /dev/null +++ b/cad/qcad-partslib/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: qcad-partslib +# Date created: 28 Mar 2004 +# Whom: Michael Reifenberger <mr@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= qcad-partslib +PORTVERSION= 2.0.1.2.1 +CATEGORIES= cad +MASTER_SITES= http://www.ribbonsoft.com/archives/partlibrary/ +DISTNAME= partlibrary-${PORTVERSION:S/.1$/-1/} + +MAINTAINER= mr@FreeBSD.org +COMMENT= Professional CAD system + +BUILD_DEPENDS= qcad:${PORTSDIR}/cad/qcad + +WRKSRC= ${WRKDIR}/partlibrary-${PORTVERSION:S/.1$/-1/} +DATADIR= ${PREFIX}/share/qcad/libraries + +USE_ZIP= yes +USE_REINPLACE= yes +NO_BUILD= yes +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} + +do-install: + @${MKDIR} ${DATADIR} + ${TAR} -C ${WRKSRC} --exclude CVS -cf - . | \ + ${TAR} -C ${DATADIR} --unlink -xf - + +.include <bsd.port.post.mk> diff --git a/cad/qcad-partslib/distinfo b/cad/qcad-partslib/distinfo new file mode 100644 index 000000000000..2e1de290256c --- /dev/null +++ b/cad/qcad-partslib/distinfo @@ -0,0 +1,2 @@ +MD5 (partlibrary-2.0.1.2-1.zip) = cac084e684bc286968beb6065aa96fb8 +SIZE (partlibrary-2.0.1.2-1.zip) = 12243050 diff --git a/cad/qcad-partslib/pkg-descr b/cad/qcad-partslib/pkg-descr new file mode 100644 index 000000000000..6e757e2f8a48 --- /dev/null +++ b/cad/qcad-partslib/pkg-descr @@ -0,0 +1,3 @@ +The parts-library for qcad. + +WWW: http://www.qcad.org/ |