summaryrefslogtreecommitdiff
path: root/graphics/gview
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-05 16:12:46 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-05 16:12:46 +0000
commit2aef221915e9361756ca5f46dee455943dbb65dc (patch)
tree5d07eddf30e844dcf8e5bdd882cd5c8dfd9cdfde /graphics/gview
parent- Update to version 1.8 (diff)
- Update MASTER_SITES and WWW: line
- Utilize DOCSDIR PR: 58964 Submitted by: Ports Fury
Diffstat (limited to 'graphics/gview')
-rw-r--r--graphics/gview/Makefile18
-rw-r--r--graphics/gview/pkg-descr2
-rw-r--r--graphics/gview/pkg-plist14
3 files changed, 13 insertions, 21 deletions
diff --git a/graphics/gview/Makefile b/graphics/gview/Makefile
index 8c5a6741484b..490a2628ae41 100644
--- a/graphics/gview/Makefile
+++ b/graphics/gview/Makefile
@@ -8,30 +8,22 @@
PORTNAME= gview
PORTVERSION= 0.1.15
CATEGORIES= graphics
-MASTER_SITES= http://netpedia.net/hosting/gview/ \
- http://homepages.petech.ac.za/~bruces/ \
- ftp://ftp.petech.ac.za/pub/viewers/
+MASTER_SITES= http://homepages.petech.ac.za/~bruces/
MAINTAINER= ports@FreeBSD.org
COMMENT= Image viewer for X Window System with interface similar to ACDSee
USE_X_PREFIX= yes
-USE_GNOME= imlib
+USE_GNOME= gnomehack imlib
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
-
-pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
- s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
- s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
+ LDFLAGS="-L${LOCALBASE}/lib"
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/gview
+ @${MKDIR} ${DOCSDIR}
.for file in AUTHORS BUGS ChangeLog NEWS README TODO
- ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gview
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
diff --git a/graphics/gview/pkg-descr b/graphics/gview/pkg-descr
index e1ce0bae8d24..2de628fbe6b7 100644
--- a/graphics/gview/pkg-descr
+++ b/graphics/gview/pkg-descr
@@ -3,4 +3,4 @@ and Imlib and supports most common image formats, JPEG, GIF, TIFF, BMP,
PPM, XPM, PNG and whatever other image formats your Imlib is configured
to support.
-WWW: http://netpedia.net/hosting/gview/
+WWW: http://homepages.petech.ac.za/~bruces/
diff --git a/graphics/gview/pkg-plist b/graphics/gview/pkg-plist
index d96c7843d3a3..e801d5a30f5b 100644
--- a/graphics/gview/pkg-plist
+++ b/graphics/gview/pkg-plist
@@ -1,11 +1,11 @@
bin/gview
-share/doc/gview/AUTHORS
-share/doc/gview/BUGS
-share/doc/gview/ChangeLog
-share/doc/gview/NEWS
-share/doc/gview/README
-share/doc/gview/TODO
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/BUGS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
share/locale/fr/LC_MESSAGES/gview.mo
share/locale/ja/LC_MESSAGES/gview.mo
share/locale/ko/LC_MESSAGES/gview.mo
-@dirrm share/doc/gview
+%%PORTDOCS%%@dirrm %%DOCSDIR%%