aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-24 20:34:11 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-24 20:43:22 +0000
commit4580d42d30b4ac84fb07fc0c6c6962e132e73c7c (patch)
treea76adf00094c4b1f863d917ce70b1e7fbcc60955
parent306502dc6e9fa62b9ed0081fcfe9c229661f9cb2 (diff)
downloadports-4580d42d30b4ac84fb07fc0c6c6962e132e73c7c.tar.gz
ports-4580d42d30b4ac84fb07fc0c6c6962e132e73c7c.zip
misc/utftools: Moved man to share/man
Approved by: portmgr (blanket)
-rw-r--r--misc/utftools/Makefile5
-rw-r--r--misc/utftools/pkg-plist8
2 files changed, 8 insertions, 5 deletions
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