summaryrefslogtreecommitdiffstats
path: root/print/ggv2/Makefile
blob: 90e1d939408eccb8780af9be434e84c618693e01 (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
35
36
# New ports collection makefile for:    ggv2
# Date created:             07 July 2002
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD: ports/print/ggv2/Makefile,v 1.40 2003/03/07 06:09:03 ade Exp $
#

PORTNAME=   ggv2
PORTVERSION=    1.99.98
PORTREVISION=   1
CATEGORIES= print gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/1.99
DISTNAME=   ggv-${PORTVERSION}
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GNOME 2.0 ghostscript viewer

BUILD_DEPENDS=  gs:${PORTSDIR}/print/ghostscript-gnu
RUN_DEPENDS=    gs:${PORTSDIR}/print/ghostscript-gnu

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix gnomehack libgnomeui
GNU_CONFIGURE=  yes
USE_REINPLACE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
        LIBS="-L${LOCALBASE}/lib"

post-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
         s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure

.include <bsd.port.mk>