aboutsummaryrefslogtreecommitdiffstats
path: root/print/xpp/Makefile
blob: ae32a09d8fa0f2e0a8abb2867c9a329884aa0dd9 (plain) (blame)
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
# New ports collection makefile for:    xpp
# Date created:     3 Oct 2001
# Whom:         Daniel O'Connor <doconnor@gsoft.com.au>
#
# $FreeBSD$
#

PORTNAME=   xpp
PORTVERSION=    1.1
CATEGORIES= print
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= cups

MAINTAINER= doconnor@gsoft.com.au
COMMENT=    GUI print front-end for CUPS

BROKEN=     "Does not compile"

LIB_DEPENDS=    cups:${PORTSDIR}/print/cups \
        fltk:${PORTSDIR}/x11-toolkits/fltk

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_X_PREFIX=   yes

CONFIGURE_ENV=  LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib -lcups -lfltk \
            -lGL -lXext ${PTHREAD_LIBS:S/"//g}" \
        CPPFLAGS=-I${LOCALBASE}/include

post-install:
    $(MKDIR) $(PREFIX)/share/doc/xpp
    $(INSTALL_DATA) $(WRKSRC)/README $(PREFIX)/share/doc/xpp

.include <bsd.port.mk>