aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-07-01 23:21:22 +0800
committertijl <tijl@FreeBSD.org>2014-07-01 23:21:22 +0800
commit45525b21138bc181c81c485e1f5eef96b47a743b (patch)
treebe4faa95885242761852c76257baad5822ffdb7d /x11-toolkits
parent37ef395a99750b86c344e330408630eeafdb3ada (diff)
downloadfreebsd-ports-gnome-45525b21138bc181c81c485e1f5eef96b47a743b.tar.gz
freebsd-ports-gnome-45525b21138bc181c81c485e1f5eef96b47a743b.tar.zst
freebsd-ports-gnome-45525b21138bc181c81c485e1f5eef96b47a743b.zip
- USES=libtool pathfix
- Add DOCS option
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtkimageview/Makefile10
-rw-r--r--x11-toolkits/gtkimageview/pkg-plist66
2 files changed, 37 insertions, 39 deletions
diff --git a/x11-toolkits/gtkimageview/Makefile b/x11-toolkits/gtkimageview/Makefile
index e073cab2f952..304c869f5f62 100644
--- a/x11-toolkits/gtkimageview/Makefile
+++ b/x11-toolkits/gtkimageview/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gtkimageview
PORTVERSION= 1.6.4
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= x11-toolkits
MASTER_SITES= LOCAL/kwm
# http://trac.bjourne.webfactional.com/
@@ -12,16 +12,16 @@ MAINTAINER= kwm@FreeBSD.org
COMMENT= Simple image viewer widget
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-static
-USES= pkgconfig
+CONFIGURE_ARGS= --disable-static --with-html-dir=${PREFIX}/share/doc
+USES= libtool pathfix pkgconfig
USE_GNOME= gtk20
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e '/^gtkimageview-marshal.[ch]:/s|$$[(]GLIB_GENMARSHAL[)]||'\
${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e '/^CFLAGS/s|-Werror||' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e '/^pkgconfigdir/s|=.*|=${PREFIX}/libdata/pkgconfig|'\
- ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
diff --git a/x11-toolkits/gtkimageview/pkg-plist b/x11-toolkits/gtkimageview/pkg-plist
index 27d4810cbbdf..e2dd1ebdf822 100644
--- a/x11-toolkits/gtkimageview/pkg-plist
+++ b/x11-toolkits/gtkimageview/pkg-plist
@@ -12,41 +12,39 @@ include/gtkimageview/gtkimageview-typebuiltins.h
include/gtkimageview/gtkzooms.h
include/gtkimageview/mouse_handler.h
include/gtkimageview/utils.h
-lib/libgtkimageview.la
lib/libgtkimageview.so
lib/libgtkimageview.so.0
+lib/libgtkimageview.so.0.0.0
libdata/pkgconfig/gtkimageview.pc
-share/gtk-doc/html/gtkimageview/GtkAnimView.html
-share/gtk-doc/html/gtkimageview/GtkIImageTool.html
-share/gtk-doc/html/gtkimageview/GtkImageNav.html
-share/gtk-doc/html/gtkimageview/GtkImageScrollWin.html
-share/gtk-doc/html/gtkimageview/GtkImageToolDragger.html
-share/gtk-doc/html/gtkimageview/GtkImageToolSelector.html
-share/gtk-doc/html/gtkimageview/GtkImageView.html
-share/gtk-doc/html/gtkimageview/acknowledgements.html
-share/gtk-doc/html/gtkimageview/big-zoom-sel-bug.png
-share/gtk-doc/html/gtkimageview/compiling.html
-share/gtk-doc/html/gtkimageview/dirstructure.html
-share/gtk-doc/html/gtkimageview/ex-mini.png
-share/gtk-doc/html/gtkimageview/ex-monitor-selection.png
-share/gtk-doc/html/gtkimageview/gtkimageview-gdkpixbufdrawcache.html
-share/gtk-doc/html/gtkimageview/gtkimageview-gtkzooms.html
-share/gtk-doc/html/gtkimageview/gtkimageview-in-window.png
-share/gtk-doc/html/gtkimageview/gtkimageview.devhelp
-share/gtk-doc/html/gtkimageview/gtkimageview.devhelp2
-share/gtk-doc/html/gtkimageview/home.png
-share/gtk-doc/html/gtkimageview/index.html
-share/gtk-doc/html/gtkimageview/index.sgml
-share/gtk-doc/html/gtkimageview/left.png
-share/gtk-doc/html/gtkimageview/navwin-open.png
-share/gtk-doc/html/gtkimageview/overview.html
-share/gtk-doc/html/gtkimageview/releasehistory.html
-share/gtk-doc/html/gtkimageview/right.png
-share/gtk-doc/html/gtkimageview/rn01.html
-share/gtk-doc/html/gtkimageview/sourcecode.html
-share/gtk-doc/html/gtkimageview/style.css
-share/gtk-doc/html/gtkimageview/up.png
+%%PORTDOCS%%%%DOCSDIR%%/GtkAnimView.html
+%%PORTDOCS%%%%DOCSDIR%%/GtkIImageTool.html
+%%PORTDOCS%%%%DOCSDIR%%/GtkImageNav.html
+%%PORTDOCS%%%%DOCSDIR%%/GtkImageScrollWin.html
+%%PORTDOCS%%%%DOCSDIR%%/GtkImageToolDragger.html
+%%PORTDOCS%%%%DOCSDIR%%/GtkImageToolSelector.html
+%%PORTDOCS%%%%DOCSDIR%%/GtkImageView.html
+%%PORTDOCS%%%%DOCSDIR%%/acknowledgements.html
+%%PORTDOCS%%%%DOCSDIR%%/big-zoom-sel-bug.png
+%%PORTDOCS%%%%DOCSDIR%%/compiling.html
+%%PORTDOCS%%%%DOCSDIR%%/dirstructure.html
+%%PORTDOCS%%%%DOCSDIR%%/ex-mini.png
+%%PORTDOCS%%%%DOCSDIR%%/ex-monitor-selection.png
+%%PORTDOCS%%%%DOCSDIR%%/gtkimageview-gdkpixbufdrawcache.html
+%%PORTDOCS%%%%DOCSDIR%%/gtkimageview-gtkzooms.html
+%%PORTDOCS%%%%DOCSDIR%%/gtkimageview-in-window.png
+%%PORTDOCS%%%%DOCSDIR%%/gtkimageview.devhelp
+%%PORTDOCS%%%%DOCSDIR%%/gtkimageview.devhelp2
+%%PORTDOCS%%%%DOCSDIR%%/home.png
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/index.sgml
+%%PORTDOCS%%%%DOCSDIR%%/left.png
+%%PORTDOCS%%%%DOCSDIR%%/navwin-open.png
+%%PORTDOCS%%%%DOCSDIR%%/overview.html
+%%PORTDOCS%%%%DOCSDIR%%/releasehistory.html
+%%PORTDOCS%%%%DOCSDIR%%/right.png
+%%PORTDOCS%%%%DOCSDIR%%/rn01.html
+%%PORTDOCS%%%%DOCSDIR%%/sourcecode.html
+%%PORTDOCS%%%%DOCSDIR%%/style.css
+%%PORTDOCS%%%%DOCSDIR%%/up.png
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm include/gtkimageview
-@dirrm share/gtk-doc/html/gtkimageview
-@dirrmtry share/gtk-doc/html
-@dirrmtry share/gtk-doc