diff --git a/converters/recode/Makefile b/converters/recode/Makefile index bb1b66c7fd7a..8ae56f545518 100644 --- a/converters/recode/Makefile +++ b/converters/recode/Makefile @@ -1,47 +1,48 @@ PORTNAME= recode PORTVERSION= 3.6 DISTVERSIONPREFIX= v -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= converters MAINTAINER= demon@FreeBSD.org COMMENT= Converts files between character sets and usages WWW= https://www.gnu.org/software/recode/recode.html LICENSE= GPLv2+ USES= gettext iconv libtool makeinfo perl5 USE_GITHUB= yes GH_ACCOUNT= pinard GH_PROJECT= Recode USE_LDCONFIG= yes USE_PERL5= run build GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --without-included-gettext CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} INFO= recode post-extract: @${CP} ${FILESDIR}/ru.po ${WRKSRC}/i18n @${RM} ${WRKSRC}/doc/${PORTNAME}.info* post-patch: @${REINPLACE_CMD} -E \ '/Project-Id-Version/ { \ s/3\.[45](r|\.[0-9])?/3.6/; \ s/: (Free )?recode/: GNU recode/; }' \ ${WRKSRC}/i18n/*.po @${REINPLACE_CMD} 's,"iconv\.h","${ICONV_PREFIX}/include/iconv.h",' \ ${WRKSRC}/src/libiconv.c @${CP} ${WRKSRC}/lib/error.c ${WRKSRC}/src # to enable, remove this line and the leading @: from the STRIP_CMD line post-install: @: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librecode.so.*.*.* .include diff --git a/converters/recode/pkg-plist b/converters/recode/pkg-plist index 0fea890f7d20..06e57ddbef36 100644 --- a/converters/recode/pkg-plist +++ b/converters/recode/pkg-plist @@ -1,21 +1,21 @@ bin/recode include/recode.h include/recodext.h lib/librecode.a lib/librecode.so lib/librecode.so.3 lib/librecode.so.3.0.6 -man/man1/recode.1.gz +share/man/man1/recode.1.gz share/locale/da/LC_MESSAGES/recode.mo share/locale/de/LC_MESSAGES/recode.mo share/locale/el/LC_MESSAGES/recode.mo share/locale/es/LC_MESSAGES/recode.mo share/locale/fr/LC_MESSAGES/recode.mo share/locale/gl/LC_MESSAGES/recode.mo share/locale/it/LC_MESSAGES/recode.mo share/locale/nl/LC_MESSAGES/recode.mo share/locale/pl/LC_MESSAGES/recode.mo share/locale/pt/LC_MESSAGES/recode.mo share/locale/ru/LC_MESSAGES/recode.mo share/locale/sl/LC_MESSAGES/recode.mo share/locale/sv/LC_MESSAGES/recode.mo