aboutsummaryrefslogtreecommitdiff
path: root/japanese/ack
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-24 11:26:15 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-24 12:29:19 +0000
commit81bb485829ca23b75c1a55dee50f7541f0cc702e (patch)
tree7ed4859ee104eb255e862dc6deb8c6c7791994ff /japanese/ack
parent00da3031b64506e2310d6c93cb50ee3a96eb7a7f (diff)
downloadports-81bb485829ca23b75c1a55dee50f7541f0cc702e.tar.gz
ports-81bb485829ca23b75c1a55dee50f7541f0cc702e.zip
japanese/ack: Moved man to share/man
Approved by: portmgr (blanket)
Diffstat (limited to 'japanese/ack')
-rw-r--r--japanese/ack/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/japanese/ack/Makefile b/japanese/ack/Makefile
index 1aaff5aadfec..f5896f59658b 100644
--- a/japanese/ack/Makefile
+++ b/japanese/ack/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ack
PORTVERSION= 1.39
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= japanese converters
MASTER_SITES= http://ftp.vector.co.jp/06/43/1369/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
@@ -15,10 +15,11 @@ CONFLICTS_INSTALL= p5-ack # /bin/ack
ALL_TARGET= ack
CFLAGS+= -Wno-error=return-type
-PLIST_FILES= bin/ack man/ja/man1/ack.1.gz
+PLIST_FILES= bin/ack share/man/ja/man1/ack.1.gz
post-patch:
- @${REINPLACE_CMD} -E 's,(BINARY|MANUAL)),DESTDIR)$$(&,' \
+ @${REINPLACE_CMD} -E 's,(BINARY|MANUAL)),DESTDIR)$$(&, ; \
+ s|^MANUAL.*|MANUAL=${PREFIX}/share/man/ja/man1|' \
${WRKSRC}/Makefile
.include <bsd.port.mk>