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