diff --git a/textproc/unrtf/Makefile b/textproc/unrtf/Makefile index 7001122cd419..a3d5a9a103e9 100644 --- a/textproc/unrtf/Makefile +++ b/textproc/unrtf/Makefile @@ -1,28 +1,30 @@ PORTNAME= unrtf PORTVERSION= 0.21.10 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= GNU MAINTAINER= jharris@widomaker.com COMMENT= Converter from RTF to several formats, including HTML and LaTeX WWW= https://www.gnu.org/software/unrtf/unrtf.html LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf cpe gmake iconv localbase:ldflags GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --libdir=${PREFIX}/share CPE_VENDOR= unrtf_project TEST_TARGET= check LDFLAGS+= ${ICONV_LIB} post-patch: @${FIND} -X ${WRKSRC} -type f -and -name "*.[1h]" | ${XARGS} \ ${REINPLACE_CMD} -e \ 's|/usr/local/lib/unrtf/|${DATADIR}/|g' @${REINPLACE_CMD} -e '/^attr_get_param/,/^}/s/return;/return NULL;/' \ ${WRKSRC}/src/attr.c .include diff --git a/textproc/unrtf/pkg-plist b/textproc/unrtf/pkg-plist index 8b0373599da2..d5b6a2874785 100644 --- a/textproc/unrtf/pkg-plist +++ b/textproc/unrtf/pkg-plist @@ -1,9 +1,9 @@ bin/unrtf -man/man1/unrtf.1.gz +share/man/man1/unrtf.1.gz %%DATADIR%%/SYMBOL.charmap %%DATADIR%%/html.conf %%DATADIR%%/latex.conf %%DATADIR%%/rtf.conf %%DATADIR%%/text.conf %%DATADIR%%/troff_mm.conf %%DATADIR%%/vt.conf