mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
add qcad-partslib the parts-library for qcad.
This commit is contained in:
parent
730cb5cf74
commit
08724750f3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105493
@ -36,6 +36,7 @@
|
||||
SUBDIR += pdnmesh
|
||||
SUBDIR += pythoncad
|
||||
SUBDIR += qcad
|
||||
SUBDIR += qcad-partslib
|
||||
SUBDIR += qfsm
|
||||
SUBDIR += qmls
|
||||
SUBDIR += sceptre
|
||||
|
41
cad/qcad-partslib/Makefile
Normal file
41
cad/qcad-partslib/Makefile
Normal file
@ -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>
|
2
cad/qcad-partslib/distinfo
Normal file
2
cad/qcad-partslib/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (partlibrary-2.0.1.2-1.zip) = cac084e684bc286968beb6065aa96fb8
|
||||
SIZE (partlibrary-2.0.1.2-1.zip) = 12243050
|
3
cad/qcad-partslib/pkg-descr
Normal file
3
cad/qcad-partslib/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
The parts-library for qcad.
|
||||
|
||||
WWW: http://www.qcad.org/
|
Loading…
Reference in New Issue
Block a user