summaryrefslogtreecommitdiffstats
path: root/graphics/gqview/Makefile
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-22 23:06:31 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-22 23:06:31 +0800
commit3e1e594f0176d8e831b60fba2b97b6bc5f34ef6e (patch)
tree8de4b66ce99f35a61d497e5f6de3dc57efb0da4e /graphics/gqview/Makefile
parent5707169e7a3c4b4bff58de042d82aa14e32a0fc3 (diff)
downloadmarcuscom-ports-3e1e594f0176d8e831b60fba2b97b6bc5f34ef6e.tar
marcuscom-ports-3e1e594f0176d8e831b60fba2b97b6bc5f34ef6e.tar.gz
marcuscom-ports-3e1e594f0176d8e831b60fba2b97b6bc5f34ef6e.tar.bz2
marcuscom-ports-3e1e594f0176d8e831b60fba2b97b6bc5f34ef6e.tar.lz
marcuscom-ports-3e1e594f0176d8e831b60fba2b97b6bc5f34ef6e.tar.xz
marcuscom-ports-3e1e594f0176d8e831b60fba2b97b6bc5f34ef6e.tar.zst
marcuscom-ports-3e1e594f0176d8e831b60fba2b97b6bc5f34ef6e.zip
- Make gqview link to PTHREAD_LIBS to fix runtime with new stuff
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6683 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/gqview/Makefile')
-rw-r--r--graphics/gqview/Makefile57
1 files changed, 57 insertions, 0 deletions
diff --git a/graphics/gqview/Makefile b/graphics/gqview/Makefile
new file mode 100644
index 000000000..3f0918c0f
--- /dev/null
+++ b/graphics/gqview/Makefile
@@ -0,0 +1,57 @@
+# New ports collection makefile for: gqview
+# Date Created: 27 Oct 1998
+# Whom: Vanilla Pooh Shu <vanilla@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gqview
+PORTVERSION= 2.0.1
+PORTREVISION= 2
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ale@FreeBSD.org
+COMMENT= Another gtk2-based graphic file viewer
+
+LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
+
+USE_X_PREFIX= yes
+USE_GNOME= gnomehier gtk20
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+
+MAN1= gqview.1
+
+CONFLICTS= gqview-devel-[0-9]*
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.endif
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= README html
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|$$prefix/share/doc/gqview-$$VERSION|${DOCSDIR}|g' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ 's|$$(datadir)/doc/gqview-$$(VERSION)/html|${DOCSDIR}/html|g' \
+ ${WRKSRC}/doc/Makefile.in
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/gqview.desktop ${PREFIX}/share/gnome/apps/Graphics
+ ${INSTALL_DATA} ${WRKSRC}/gqview.png ${PREFIX}/share/gnome/pixmaps
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>