blob: fae6da8086f6ba6ef3ea8252e25c195dd5ca72a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.17 2003/07/17 21:25:19 grant Exp $
DISTNAME= qcad-1.5.4-src
PKGNAME= qcad-1.5.4
PKGREVISION= 1
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qcad/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.qcad.org/
COMMENT= 2D CAD System
USE_BUILDLINK2= # defined
USE_X11= # defined
MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH}
MAKE_ENV+= QTDIR=${BUILDLINK_PREFIX.qt3}
do-configure:
for f in rappwin.cpp relement.cpp rfonts.cpp rprgdef.h; do \
${SED} -e 's:@PREFIX@:'${PREFIX}':g' \
-e 's:@X11BASE@:${X11BASE}:g' \
${WRKSRC}/$$f > ${WRKSRC}/$$f.tmp \
&& ${MV} ${WRKSRC}/$$f.tmp ${WRKSRC}/$$f; \
done
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/qcad ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/qcad
cd ${WRKSRC} && ${PAX} -rw AUTHORS COPYING README TODO cur doc \
examples fonts hatches libraries messages po xpm \
${PREFIX}/share/qcad
.include "../../x11/qt3-libs/buildlink2.mk"
.include "../../x11/qt3-tools/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|