summaryrefslogtreecommitdiff
path: root/graphics/xfig/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2001-08-23 04:26:51 +0000
committerjlam <jlam>2001-08-23 04:26:51 +0000
commit3da39f02782d99195f49d4edb3348780a024f4fa (patch)
tree4bfa8b36ce531fe4f0f7472d5fdff888abf4b533 /graphics/xfig/Makefile
parent2b3a25f294c80ee47c2837b7690b8b49227dd6ad (diff)
downloadpkgsrc-3da39f02782d99195f49d4edb3348780a024f4fa.tar.gz
Move per-package default XAW_TYPE setting above the inclusion of
bsd.prefs.mk so that it is actually used. Where possible, include xaw.buildlink.mk instead of setting USE_XAW, and use LIBXAW where needed.
Diffstat (limited to 'graphics/xfig/Makefile')
-rw-r--r--graphics/xfig/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile
index 755676198f5..f359d10ebc2 100644
--- a/graphics/xfig/Makefile
+++ b/graphics/xfig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2001/08/20 04:17:43 jlam Exp $
+# $NetBSD: Makefile,v 1.30 2001/08/23 04:26:54 jlam Exp $
#
DISTNAME= xfig.3.2.3d.full
@@ -15,16 +15,16 @@ COMMENT= CAD-like 2D drawing tool, good for colorful scale drawings & ISOs
DEPENDS+= transfig>=3.2.3.4:../../print/transfig
USE_IMAKE= YES
-USE_XAW= YES
XAW_TYPE?= 3d
NO_INSTALL_MANPAGES= YES # install.all does install.man
INSTALL_TARGET= install install.all
CFLAGS+= -I${BUILDLINK_DIR}/include/X11
+MAKE_ENV+= X11PREFIX=${X11PREFIX}
.include "../../mk/bsd.prefs.mk"
-.if ${XAW_TYPE} != "3d"
+.if defined(XAW_TYPE) && (${XAW_TYPE} != "3d" && ${XAW_TYPE} != "xpm")
pre-configure:
cd ${WRKSRC} && \
if [ ! -f Imakefile.bak ]; then ${MV} Imakefile Imakefile.bak; fi && \
@@ -46,4 +46,5 @@ post-install:
.include "../../graphics/jpeg/buildlink.mk"
.include "../../graphics/png/buildlink.mk"
.include "../../graphics/xpm/buildlink.mk"
+.include "../../mk/xaw.buildlink.mk"
.include "../../mk/bsd.pkg.mk"