summaryrefslogtreecommitdiff
path: root/print/xpp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/xpp/Makefile')
-rw-r--r--print/xpp/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/print/xpp/Makefile b/print/xpp/Makefile
index fe8a9c5f170..97af83f51b9 100644
--- a/print/xpp/Makefile
+++ b/print/xpp/Makefile
@@ -1,12 +1,13 @@
-# $NetBSD: Makefile,v 1.3 2001/01/25 15:57:25 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2001/01/30 16:37:55 jlam Exp $
-DISTNAME= xpp-0.7
+DISTNAME= xpp-1.0
CATEGORIES= print x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cups/}
MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://cups.sourceforge.net/xpp/index.html
+BUILD_DEPENDS+= autoconf:../../devel/autoconf
DEPENDS+= cups>=1.1.1:../../print/cups
DEPENDS+= fltk>=1.0.9:../../x11/fltk
@@ -15,13 +16,16 @@ USE_X11= # defined
USE_GMAKE= # defined
GNU_CONFIGURE= # defined
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
-CONFIGURE_ENV+= LIBS="${LIBS}"
+EVAL_PREFIX+= FLTKDIR=fltk
+CPPFLAGS+= -I${FLTKDIR}/include # FL/Fl.h
CPPFLAGS+= -I${LOCALBASE}/include # cups/cups.h
-LIBS+= -lGL -lm # -lfltk
DOCDIR= ${PREFIX}/share/doc/xpp
+pre-configure:
+ cd ${WRKSRC} && autoconf && touch aclocal.m4 Makefile.in
+
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}; ${INSTALL_DATA} LICENSE README ${DOCDIR}