Index: head/textproc/unrtf/Makefile =================================================================== --- head/textproc/unrtf/Makefile (revision 460966) +++ head/textproc/unrtf/Makefile (revision 460967) @@ -1,43 +1,30 @@ # Created by: Oliver Braun # $FreeBSD$ PORTNAME= unrtf PORTVERSION= 0.21.9 CATEGORIES= textproc MASTER_SITES= GNU MAINTAINER= jharris@widomaker.com COMMENT= Converter from RTF to several formats, including HTML and LaTeX LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= autoreconf cpe gmake iconv +USES= autoreconf cpe gmake iconv localbase:ldflags GNU_CONFIGURE= yes CONFIGURE_ARGS= --libdir=${PREFIX}/share CPE_VENDOR= unrtf_project +TEST_TARGET= check -PLIST_FILES= bin/unrtf \ - %%DATADIR%%/SYMBOL.charmap \ - %%DATADIR%%/html.conf \ - %%DATADIR%%/latex.conf \ - %%DATADIR%%/rtf.conf \ - %%DATADIR%%/text.conf \ - %%DATADIR%%/troff_mm.conf \ - %%DATADIR%%/vt.conf \ - man/man1/unrtf.1.gz +LDFLAGS+= ${ICONV_LIB} -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib ${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 - -check regression-test test: build - @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} check) .include Index: head/textproc/unrtf/pkg-plist =================================================================== --- head/textproc/unrtf/pkg-plist (nonexistent) +++ head/textproc/unrtf/pkg-plist (revision 460967) @@ -0,0 +1,9 @@ +bin/unrtf +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 Property changes on: head/textproc/unrtf/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property