mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Update MASTER_SITES and WWW: line
- Utilize DOCSDIR PR: 58964 Submitted by: Ports Fury
This commit is contained in:
parent
7bb43374b6
commit
2aef221915
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93159
3 changed files with 13 additions and 21 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
|
|
@ -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%%
|
||||
|
|
Loading…
Add table
Reference in a new issue