a4bc16d30c
redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR, which points to the location of the X11R6 hierarchy used during building. If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to ${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use. Remove the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and revert changes to move x11.buildlink.mk before the other buildlink.mk files.
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2001/10/24 22:10:47 jlam Exp $
|
|
|
|
DISTNAME= qcad-1.4.7-src
|
|
PKGNAME= qcad-1.4.7
|
|
CATEGORIES= cad
|
|
MASTER_SITES= http://www.qcad.org/archives/
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.qcad.org/
|
|
COMMENT= 2D CAD System
|
|
|
|
USE_BUILDLINK_ONLY= # defined
|
|
|
|
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 "../../x11/qt2-libs/buildlink.mk"
|
|
.include "../../mk/x11.buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|