2001-01-30 17:37:55 +01:00
|
|
|
# $NetBSD: Makefile,v 1.4 2001/01/30 16:37:55 jlam Exp $
|
2000-12-08 17:36:24 +01:00
|
|
|
|
2001-01-30 17:37:55 +01:00
|
|
|
DISTNAME= xpp-1.0
|
2000-12-08 17:36:24 +01:00
|
|
|
CATEGORIES= print x11
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cups/}
|
|
|
|
|
|
|
|
MAINTAINER= jlam@netbsd.org
|
|
|
|
HOMEPAGE= http://cups.sourceforge.net/xpp/index.html
|
|
|
|
|
2001-01-30 17:37:55 +01:00
|
|
|
BUILD_DEPENDS+= autoconf:../../devel/autoconf
|
2000-12-08 17:36:24 +01:00
|
|
|
DEPENDS+= cups>=1.1.1:../../print/cups
|
2000-12-15 21:07:16 +01:00
|
|
|
DEPENDS+= fltk>=1.0.9:../../x11/fltk
|
2000-12-08 17:36:24 +01:00
|
|
|
|
|
|
|
USE_X11= # defined
|
|
|
|
|
2001-01-25 16:57:25 +01:00
|
|
|
USE_GMAKE= # defined
|
2000-12-08 17:36:24 +01:00
|
|
|
GNU_CONFIGURE= # defined
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
|
|
|
|
|
2001-01-30 17:37:55 +01:00
|
|
|
EVAL_PREFIX+= FLTKDIR=fltk
|
|
|
|
CPPFLAGS+= -I${FLTKDIR}/include # FL/Fl.h
|
2000-12-08 17:36:24 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include # cups/cups.h
|
|
|
|
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/xpp
|
|
|
|
|
2001-01-30 17:37:55 +01:00
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && autoconf && touch aclocal.m4 Makefile.in
|
|
|
|
|
2000-12-08 17:36:24 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} LICENSE README ${DOCDIR}
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|