summaryrefslogblamecommitdiffstats
path: root/graphics/gpdf/Makefile
blob: 8789e23f05e7b19dd1072f8a17a69ef62a8798a5 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                                
                     
                                    









                                                          
                                                                









                                                                           
# 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.101
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" \
        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>