aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gthumb/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-11-05 21:03:53 +0800
committersobomax <sobomax@FreeBSD.org>2001-11-05 21:03:53 +0800
commit28bc063e381abc1b4deacc063f44d8e7e839d11e (patch)
tree6714c111c2e855f2f61610e1c75afa4d9426fe21 /graphics/gthumb/Makefile
parentbbad06f5aeb39657cc58e0c4647919750a1a5eb7 (diff)
downloadfreebsd-ports-gnome-28bc063e381abc1b4deacc063f44d8e7e839d11e.tar.gz
freebsd-ports-gnome-28bc063e381abc1b4deacc063f44d8e7e839d11e.tar.zst
freebsd-ports-gnome-28bc063e381abc1b4deacc063f44d8e7e839d11e.zip
Add gthumb 0.9.5, image viewer and browser for the GNOME environment.
Submitted by: Harald Schmalzbauer <H@Schmalzbauer.de>
Diffstat (limited to 'graphics/gthumb/Makefile')
-rw-r--r--graphics/gthumb/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/graphics/gthumb/Makefile b/graphics/gthumb/Makefile
new file mode 100644
index 000000000000..cab290a5c4dd
--- /dev/null
+++ b/graphics/gthumb/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: gThumb
+# Date created: 03 Nov 2001
+# Whom: Harald Schmalzbauer <H@Schmalzbauer.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gthumb
+PORTVERSION= 0.9.5
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= gthumb
+
+MAINTAINER= H@Schmalzbauer.de
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOME= yes
+USE_LIBTOOL= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN1= gthumb.1
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
+.include <bsd.port.mk>