aboutsummaryrefslogtreecommitdiff
path: root/japanese/epwutil
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2024-01-09 09:47:09 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2024-01-09 09:47:14 +0000
commitc75c944686415d24160b910420b8cec40549ce46 (patch)
treebbf14e0d1dcfc6df77a6ea37918a4c50366169d2 /japanese/epwutil
parent34fdd68f8580ffd2bdb6a83a28eedd4d1db85ed4 (diff)
downloadports-c75c944686415d24160b910420b8cec40549ce46.tar.gz
ports-c75c944686415d24160b910420b8cec40549ce46.zip
MANPREFIX: eleminate its usage and move man to share/man
Diffstat (limited to 'japanese/epwutil')
-rw-r--r--japanese/epwutil/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/japanese/epwutil/Makefile b/japanese/epwutil/Makefile
index 2b819a6f3a75..36ca309440d9 100644
--- a/japanese/epwutil/Makefile
+++ b/japanese/epwutil/Makefile
@@ -1,6 +1,6 @@
PORTNAME= epwutil
PORTVERSION= 1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= japanese
MASTER_SITES= http://openlab.ring.gr.jp/edict/epwutil/
@@ -11,7 +11,8 @@ MAKEFILE= makefile.unx
EPWPROGS= bookinfo catdump squeeze
-PLIST_FILES= ${EPWPROGS:S|^|bin/|} ${EPWPROGS:S|^|man/ja/man1/|:S|$|.1.gz|}
+PLIST_FILES= ${EPWPROGS:S|^|bin/|} ${EPWPROGS:S|^|share/man/ja/man1/|:S|$|.1.gz|}
+
PORTDOCS= epwutil.doc
OPTIONS_DEFINE= DOCS
@@ -19,8 +20,9 @@ OPTIONS_DEFINE= DOCS
do-install:
.for file in ${EPWPROGS}
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/man/ja/man1
${INSTALL_MAN} ${WRKSRC}/${file}.man \
- ${STAGEDIR}${MANPREFIX}/man/ja/man1/${file}.1
+ ${STAGEDIR}${PREFIX}/share/man/ja/man1/${file}.1
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}