2001-06-26 21:54:48 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 2001/06/26 20:10:22 jlam Exp $
|
2001-03-26 22:53:47 +02:00
|
|
|
|
2001-05-04 00:02:59 +02:00
|
|
|
DISTNAME= qcad-1.4.7-src
|
|
|
|
PKGNAME= qcad-1.4.7
|
|
|
|
CATEGORIES= cad
|
|
|
|
MASTER_SITES= http://www.qcad.org/archives/
|
2001-03-26 22:53:47 +02:00
|
|
|
|
2001-05-04 00:02:59 +02:00
|
|
|
MAINTAINER= packages@netbsd.org
|
|
|
|
HOMEPAGE= http://www.qcad.org/
|
|
|
|
COMMENT= 2D CAD System
|
2001-03-26 22:53:47 +02:00
|
|
|
|
2001-06-26 21:54:48 +02:00
|
|
|
USE_BUILDLINK_ONLY= # defined
|
|
|
|
USE_X11= # defined
|
2001-03-26 22:53:47 +02:00
|
|
|
|
|
|
|
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 - )
|
|
|
|
|
2001-06-26 21:54:48 +02:00
|
|
|
.include "../../x11/qt2-libs/buildlink.mk"
|
2001-03-26 22:53:47 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|