diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-02-20 16:25:30 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-02-20 16:25:30 +0000 |
commit | 7134be1fd3e07812f05517220515a80c9098b39b (patch) | |
tree | bf2af65a07ce0cde667fce658147781de5bc83bc /textproc | |
parent | - Update to 1.2l (diff) |
- Update to 0.21.0
PR: 131826
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=228724
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/unrtf/Makefile | 26 | ||||
-rw-r--r-- | textproc/unrtf/distinfo | 6 |
2 files changed, 26 insertions, 6 deletions
diff --git a/textproc/unrtf/Makefile b/textproc/unrtf/Makefile index 09bd1d900487..1fc55c16e6b9 100644 --- a/textproc/unrtf/Makefile +++ b/textproc/unrtf/Makefile @@ -5,17 +5,37 @@ # $FreeBSD$ PORTNAME= unrtf -PORTVERSION= 0.20.5 +PORTVERSION= 0.21.0 CATEGORIES= textproc MASTER_SITES= GNU MAINTAINER= ports@FreeBSD.org COMMENT= A converter from RTF to several formats, including HTML and LaTeX -USE_GNOME= gnometarget +USE_ICONV= yes +USE_GMAKE= yes GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +CONFIGURE_ARGS= --libdir=${PREFIX}/share MAN1= unrtf.1 -PLIST_FILES= bin/unrtf +PLIST_FILES= bin/unrtf \ + %%DATADIR%%/charmaps/SYMBOL \ + %%DATADIR%%/outputs/html \ + %%DATADIR%%/outputs/latex \ + %%DATADIR%%/outputs/rtf \ + %%DATADIR%%/outputs/text \ + %%DATADIR%%/outputs/vt +PLIST_DIRS= %%DATADIR%%/outputs \ + %%DATADIR%%/charmaps \ + %%DATADIR%% + +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib -liconv + +post-patch: + @${FIND} ${WRKSRC} -name "*.[1h]" -print0 | ${XARGS} -0 \ + ${REINPLACE_CMD} -e \ + 's|/usr/local/lib/unrtf/|${DATADIR}/|g' .include <bsd.port.mk> diff --git a/textproc/unrtf/distinfo b/textproc/unrtf/distinfo index 5b73bdbb77a8..c5a6c320c63a 100644 --- a/textproc/unrtf/distinfo +++ b/textproc/unrtf/distinfo @@ -1,3 +1,3 @@ -MD5 (unrtf-0.20.5.tar.gz) = 6a972d275bee7ca812458561a436095b -SHA256 (unrtf-0.20.5.tar.gz) = ad484e0fc573482c586177627d7c79f2a94deb022caae3a04a0c56af10b3ff92 -SIZE (unrtf-0.20.5.tar.gz) = 425417 +MD5 (unrtf-0.21.0.tar.gz) = 8d1f8617d6813308c310f111145c7cb9 +SHA256 (unrtf-0.21.0.tar.gz) = 3be1b49b7d3b1f7d915cf1821d2916444c45034a3a79dd46dbb4fc0453ca97f0 +SIZE (unrtf-0.21.0.tar.gz) = 626157 |