1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/japanese/namazu/Makefile
Dmitry Marakasov 1dd031a9a4 - Fix shebangs
- Strip binaries

Approved by:	portmgr blanket
2015-09-11 19:03:55 +00:00

33 lines
765 B
Makefile

# Created by: Seiichirou Hiraoka
# $FreeBSD$
PORTNAME= namazu
PORTVERSION= 1.3.0.11
PORTREVISION= 1
CATEGORIES= japanese textproc
MASTER_SITES= http://www.namazu.org/stable/ \
LOCAL/flathill
MAINTAINER= ports@FreeBSD.org
COMMENT= Search engine software intended for easy use
BUILD_DEPENDS= kakasi:${PORTSDIR}/japanese/kakasi \
nkf:${PORTSDIR}/japanese/nkf
RUN_DEPENDS= kakasi:${PORTSDIR}/japanese/kakasi \
nkf:${PORTSDIR}/japanese/nkf
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
.include <bsd.port.mk>