japanese/ack: Moved man to share/man

Approved by:    portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-02-24 12:26:15 +01:00
parent 00da3031b6
commit 81bb485829
No known key found for this signature in database
GPG Key ID: BDB9B5A617C0BC91
1 changed files with 4 additions and 3 deletions

View File

@ -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>