diff --git a/misc/utftools/Makefile b/misc/utftools/Makefile index 011f2a44b100..062622e537aa 100644 --- a/misc/utftools/Makefile +++ b/misc/utftools/Makefile @@ -1,6 +1,6 @@ PORTNAME= utftools PORTVERSION= 1.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc MASTER_SITES= http://www.cs.yorku.ca/pub/wily/misc/ @@ -18,6 +18,9 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libutf.a:misc/libutf GNU_CONFIGURE= yes CONFIGURE_ARGS= --libdir=${LOCALBASE}/lib --includedir=${LOCALBASE}/include +post-patch: + @${REINPLACE_CMD} -e 's|man$$|share/man|' ${WRKSRC}/Makefile.in + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* diff --git a/misc/utftools/pkg-plist b/misc/utftools/pkg-plist index 620fcb4a7e1a..61f933f11414 100644 --- a/misc/utftools/pkg-plist +++ b/misc/utftools/pkg-plist @@ -2,7 +2,7 @@ bin/utf8-expand bin/utf8-fmt bin/utf8-unexpand bin/utf8-wc -man/man1/utf8-expand.1.gz -man/man1/utf8-fmt.1.gz -man/man1/utf8-unexpand.1.gz -man/man1/utf8-wc.1.gz +share/man/man1/utf8-expand.1.gz +share/man/man1/utf8-fmt.1.gz +share/man/man1/utf8-unexpand.1.gz +share/man/man1/utf8-wc.1.gz