diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-12 03:03:55 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-12 03:03:55 +0800 |
commit | 898a23e46b96f6b124e4def43652e83c51aac799 (patch) | |
tree | 72bedc974fb58e651ed6e2ad351b9b3c2900e452 /japanese/namazu | |
parent | 89ee551e02be157072107cd2da677f258e94a29f (diff) | |
download | freebsd-ports-gnome-898a23e46b96f6b124e4def43652e83c51aac799.tar.gz freebsd-ports-gnome-898a23e46b96f6b124e4def43652e83c51aac799.tar.zst freebsd-ports-gnome-898a23e46b96f6b124e4def43652e83c51aac799.zip |
- Fix shebangs
- Strip binaries
Approved by: portmgr blanket
Diffstat (limited to 'japanese/namazu')
-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 |