summaryrefslogtreecommitdiff
path: root/graphics/xfig/Makefile
diff options
context:
space:
mode:
authoragc <agc>1999-08-25 13:37:34 +0000
committeragc <agc>1999-08-25 13:37:34 +0000
commit180af65efcbfb9594cafbaf1302968edfdc791e0 (patch)
tree4e6397ac799b96e60809f2cb1c097771c079275a /graphics/xfig/Makefile
parent60a78b505626e9b3ea90765f6fe799033a8f8d0f (diff)
downloadpkgsrc-180af65efcbfb9594cafbaf1302968edfdc791e0.tar.gz
Introduce a USE_XAW definition, which is used in package Makefiles, to
denote that the package uses libXaw. Introduce an XAW_TYPE definition, which is defined in /etc/mk.conf by the user, to denote the type of libXaw to use. Possible values are: standard, 3d and xpm. Define USE_XAW in relevant Makefiles. Set default XAW_TYPE in Makefiles which previously did a DEPENDS+= Xaw3d... This means that package builds should not fail because of conflicting Xaw packages being installed on machines.
Diffstat (limited to 'graphics/xfig/Makefile')
-rw-r--r--graphics/xfig/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile
index 620da566eb1..e9c2a33ed1e 100644
--- a/graphics/xfig/Makefile
+++ b/graphics/xfig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 1999/04/15 20:39:43 tron Exp $
+# $NetBSD: Makefile,v 1.19 1999/08/25 13:37:35 agc Exp $
#
DISTNAME= xfig.3.2.2
@@ -13,9 +13,13 @@ HOMEPAGE= http://epb1.lbl.gov/BVSmith/xfig/
DEPENDS+= transfig-3.2.1:../../print/transfig
DEPENDS+= xpm-3.4k:../../graphics/xpm
DEPENDS+= jpeg-6b:../../graphics/jpeg
-DEPENDS+= Xaw3d-1.5:../../x11/Xaw3d
USE_IMAKE= yes
+USE_XAW= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+XAW_TYPE?= 3d
post-install:
@${MKDIR} ${X11BASE}/share/examples/xfig