diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-11 19:03:55 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-11 19:03:55 +0000 |
commit | 1dd031a9a4c350431a2d23de3cf306c6e33bb5a7 (patch) | |
tree | 72bedc974fb58e651ed6e2ad351b9b3c2900e452 /japanese/namazu/Makefile | |
parent | 44487ec7c4f46d179c7c944d03e9c8da9dd0160b (diff) | |
download | ports-1dd031a9a4c350431a2d23de3cf306c6e33bb5a7.tar.gz ports-1dd031a9a4c350431a2d23de3cf306c6e33bb5a7.zip |
Notes
Diffstat (limited to 'japanese/namazu/Makefile')
-rw-r--r-- | japanese/namazu/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/japanese/namazu/Makefile b/japanese/namazu/Makefile index f6afb8f3b26a..ebfd05485d47 100644 --- a/japanese/namazu/Makefile +++ b/japanese/namazu/Makefile @@ -3,6 +3,7 @@ PORTNAME= namazu PORTVERSION= 1.3.0.11 +PORTREVISION= 1 CATEGORIES= japanese textproc MASTER_SITES= http://www.namazu.org/stable/ \ LOCAL/flathill @@ -15,11 +16,16 @@ BUILD_DEPENDS= kakasi:${PORTSDIR}/japanese/kakasi \ RUN_DEPENDS= kakasi:${PORTSDIR}/japanese/kakasi \ nkf:${PORTSDIR}/japanese/nkf -USES= perl5 +USES= perl5 shebangfix +SHEBANG_FILES= ../contrib/bnamazu GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/${DISTNAME}/src +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/namazu \ + ${STAGEDIR}${PREFIX}/namazu/bin/namazu + post-patch: @${REINPLACE_CMD} '/^int main/ s|uchar|char|' ${WRKSRC}/namazu.c |