summaryrefslogtreecommitdiffstats
path: root/graphics/gpdf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gpdf/Makefile')
-rw-r--r--graphics/gpdf/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/graphics/gpdf/Makefile b/graphics/gpdf/Makefile
new file mode 100644
index 000000000..1e3c16000
--- /dev/null
+++ b/graphics/gpdf/Makefile
@@ -0,0 +1,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.100
+CATEGORIES= graphics 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 gnomevfs2 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>