1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/databases/namazu2/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

48 lines
1.4 KiB
Makefile

# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= namazu
PORTVERSION= ${NAMAZU_PORTVERSION}
PORTREVISION= 2
CATEGORIES+= databases www textproc
MASTER_SITES= http://www.namazu.org/stable/
PKGNAMESUFFIX= 2
MAINTAINER= ports@FreeBSD.org
COMMENT= Full-text search system intended for easy use
BUILD_DEPENDS= p5-File-MMagic>=0:devel/p5-File-MMagic
RUN_DEPENDS= p5-File-MMagic>=0:devel/p5-File-MMagic
USES= cpe gettext iconv libtool perl5
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-perl5="${PERL}" \
--with-libintl-prefix=${LOCALBASE} \
--localstatedir=/var \
${ICONV_CONFIGURE_ARG}
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
.include "${.CURDIR}/Makefile.common"
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|/usr/local/var|/var|g' ${WRKSRC}/conf/namazurc-sample
post-install:
${RM} ${STAGEDIR}${PREFIX}/etc/namazu/*win32
${MV} ${STAGEDIR}${PREFIX}/etc/namazu/mknmzrc-sample \
${STAGEDIR}${PREFIX}/etc/namazu/mknmzrc.sample
${MV} ${STAGEDIR}${PREFIX}/etc/namazu/namazurc-sample \
${STAGEDIR}${PREFIX}/etc/namazu/namazurc.sample
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.css ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/en
${INSTALL_DATA} ${WRKSRC}/doc/en/*.html ${STAGEDIR}${DOCSDIR}/en
@${MKDIR} ${STAGEDIR}${DOCSDIR}/ja
${INSTALL_DATA} ${WRKSRC}/doc/ja/*.html ${STAGEDIR}${DOCSDIR}/ja
.include <bsd.port.mk>