diff --git a/textproc/gdome2/Makefile b/textproc/gdome2/Makefile index 90802dbb0c82..810c8e3525cc 100644 --- a/textproc/gdome2/Makefile +++ b/textproc/gdome2/Makefile @@ -1,63 +1,64 @@ PORTNAME= gdome2 PORTVERSION= 0.8.1 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= textproc MASTER_SITES= http://gdome2.cs.unibo.it/tarball/ MAINTAINER= bofh@FreeBSD.org COMMENT= Gnome DOM Engine WWW= http://gdome2.cs.unibo.it/ LICENSE= GPLv2 LGPL21 LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB USES= gnome libtool localbase pathfix pkgconfig USE_GNOME= glib20 libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ENV= GLIB_CONFIG="${LOCALBASE}/bin/pkg-config glib-2.0" INSTALL_TARGET= install-strip CFLAGS+= -fcommon DOCSDIR= ${PREFIX}/share/doc/${DISTNAME} PORTDOCS= * OPTIONS_DEFINE= DOCS .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${FIND} ${WRKSRC} -type f -and \ '(' -name '*.[ch]' -or -name '*.xml' ')' | \ ${XARGS} ${REINPLACE_CMD} -e ' \ s,,,; \ s,,,; \ s,,,; \ s,,,; \ s,,,; \ s,,,; \ s,,,; \ s,,,' post-patch-DOCS-on: @${REINPLACE_CMD} -E -e \ 's,^(HTML_DIR *= *).*,\1\$$(DESTDIR)$$(prefix)/share/doc,' \ ${WRKSRC}/gtk-doc/Makefile.in post-patch-DOCS-off: @${REINPLACE_CMD} '/gtk-doc/d' ${WRKSRC}/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgdome.so .include diff --git a/textproc/gdome2/pkg-plist b/textproc/gdome2/pkg-plist index 54a9627456b8..f1176a1a3bdf 100644 --- a/textproc/gdome2/pkg-plist +++ b/textproc/gdome2/pkg-plist @@ -1,17 +1,17 @@ bin/gdome-config include/libgdome/gdome-events.h include/libgdome/gdome-libxml-util.h include/libgdome/gdome-private-list.h include/libgdome/gdome-refdebug.h include/libgdome/gdome-treegc.h include/libgdome/gdome-util.h include/libgdome/gdome-xpath.h include/libgdome/gdome.h lib/gdomeConf.sh lib/libgdome.a lib/libgdome.so lib/libgdome.so.0 lib/libgdome.so.0.8.1 libdata/pkgconfig/gdome2.pc -man/man1/gdome-config.1.gz +share/man/man1/gdome-config.1.gz share/aclocal/gdome2.m4