summaryrefslogtreecommitdiffstats
path: root/graphics/gpdf/Makefile
blob: c3a552ec67876fcd2cd518bb02c843ed89ae8738 (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
# New ports collection makefile for:    gpdf
# Date created:     12 April 2002
# Whom:         Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD: ports/graphics/eog2/Makefile,v 1.34 2003/04/04 07:39:46 marcus Exp $
#

PORTNAME=   gpdf
PORTVERSION=    0.102
CATEGORIES= graphics print gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION}
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GNOME version of xpdf

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_REINPLACE=  yes
USE_GNOME=  gnomeprefix gnomehack libgnomeui libgnomeprintui
USE_X_PREFIX=   yes
USE_LIBTOOL=    yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-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>