summaryrefslogtreecommitdiff
path: root/cad/qcad/Makefile
diff options
context:
space:
mode:
authorjtb <jtb>2001-03-26 20:53:47 +0000
committerjtb <jtb>2001-03-26 20:53:47 +0000
commitd46cf584db5a1ace5172586314cf06cb03cc7f9a (patch)
tree19eeb3196a5258b0172208f6d7de8e56d6b39e0f /cad/qcad/Makefile
parent134b8ad58497aed95a8f279d2d1fe9146ac45375 (diff)
downloadpkgsrc-d46cf584db5a1ace5172586314cf06cb03cc7f9a.tar.gz
New qcad package:
QCad is a simple 2D CAD System. With QCad you can easily construct and modify drawings with ISO-texts, dimensions, hatches and many other features and save them as DXF-files. These DXF-files are the interface to many CAD-systems such as AutoCAD and many others.
Diffstat (limited to 'cad/qcad/Makefile')
-rw-r--r--cad/qcad/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile
new file mode 100644
index 00000000000..7497094bdea
--- /dev/null
+++ b/cad/qcad/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/26 20:53:47 jtb Exp $
+
+DISTNAME= qcad-1.4.7-src
+PKGNAME= qcad-1.4.7
+CATEGORIES= cad
+MASTER_SITES= http://www.qcad.org/archives/
+
+MAINTAINER= jtb@netbsd.org
+HOMEPAGE= http://www.qcad.org/
+COMMENT= 2D CAD System
+
+DEPENDS+= qt2-libs>=2.2.4:../../x11/qt2-libs
+
+USE_X11= #defined
+EVAL_PREFIX+= QT2_PREFIX=qt2 JPEG_PREFIX=jpeg PNG_PREFIX=png
+MAKE_ENV+= QTDIR=${QT2_PREFIX}/qt2
+
+do-configure:
+ @for f in rappwin.cpp rconfig.cpp relement.cpp rfile.cpp \
+ rfonts.cpp; do \
+ ${SED} -e 's:@PREFIX@:'${PREFIX}':g' ${WRKSRC}/$$f \
+ > ${WRKSRC}/$$f.tmp && ${MV} ${WRKSRC}/$$f.tmp \
+ ${WRKSRC}/$$f; \
+ done
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/qcad ${PREFIX}/bin
+ for f in `${FIND} ${WRKSRC} -type f -print`; do \
+ ${CHOWN} ${SHAREOWN}:${SHAREGRP} $$f; \
+ ${CHMOD} ${SHAREMODE} $$f; \
+ done
+ for f in `${FIND} ${WRKSRC} -type d -print`; do \
+ ${CHOWN} ${SHAREOWN}:${SHAREGRP} $$f; \
+ done
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/qcad
+ (cd ${WRKSRC}; ${GTAR} cf - AUTHORS COPYING README \
+ TODO cur doc examples fonts hatches libraries messages xpm) | \
+ (cd ${PREFIX}/share/qcad; ${GTAR} vxf - )
+
+.include "../../mk/bsd.pkg.mk"