summaryrefslogtreecommitdiff
path: root/print/xpp/Makefile
blob: e9629ea42b0d33472fa24d5558c11dab7650f003 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $NetBSD: Makefile,v 1.7 2001/03/27 03:20:14 hubertf Exp $

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
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

DOCDIR=		${PREFIX}/share/doc/xpp

pre-configure:
	cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf && touch aclocal.m4 Makefile.in

post-install:
	${INSTALL_DATA_DIR} ${DOCDIR}
	cd ${WRKSRC}; ${INSTALL_DATA} LICENSE README ${DOCDIR}

.include "../../mk/bsd.pkg.mk"