summaryrefslogtreecommitdiff
path: root/print/xpp/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-05-26 07:16:16 +0000
committerjlam <jlam@pkgsrc.org>2001-05-26 07:16:16 +0000
commit95185453b5a576f51b52d5bae15f359e4e5c31fc (patch)
tree9226a09499f6d49c0f4440cc4a9670c020d83e8e /print/xpp/Makefile
parent365b176070853881b66d6b0cb50cf9bf55b1c14a (diff)
downloadpkgsrc-95185453b5a576f51b52d5bae15f359e4e5c31fc.tar.gz
Use buildlink.mk files to get dependencies on cups and fltk, and add a
patch the configure script directly to remove the build dependency on autoconf.
Diffstat (limited to 'print/xpp/Makefile')
-rw-r--r--print/xpp/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/print/xpp/Makefile b/print/xpp/Makefile
index e9629ea42b0..696de40bc71 100644
--- a/print/xpp/Makefile
+++ b/print/xpp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/03/27 03:20:14 hubertf Exp $
+# $NetBSD: Makefile,v 1.8 2001/05/26 07:16:16 jlam Exp $
DISTNAME= xpp-1.0
CATEGORIES= print x11
@@ -8,24 +8,22 @@ MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://cups.sourceforge.net/xpp/index.html
COMMENT= X Printing Panel
-BUILD_DEPENDS+= autoconf-2.13:../../devel/autoconf
-DEPENDS+= cups>=1.1.1:../../print/cups
-DEPENDS+= fltk>=1.0.9:../../x11/fltk
-
USE_X11= # defined
USE_GMAKE= # defined
GNU_CONFIGURE= # defined
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
-EVAL_PREFIX+= FLTKDIR=fltk
-CPPFLAGS+= -I${FLTKDIR}/include # FL/Fl.h
-CPPFLAGS+= -I${LOCALBASE}/include # cups/cups.h
+.include "../../print/cups/buildlink.mk"
+.include "../../x11/fltk/buildlink.mk"
+
+CPPFLAGS+= -I${BUILDLINK_INCDIR}
+LDFLAGS+= -L${BUILDLINK_LIBDIR}
DOCDIR= ${PREFIX}/share/doc/xpp
-pre-configure:
- cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf && touch aclocal.m4 Makefile.in
+pre-configure: ${BUILDLINK_TARGETS}
+ cd ${WRKSRC}; ${TOUCH} Makefile.in aclocal.m4 configure
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}