blob: c8c577c7e94197d22775ed154f849ac90c03e924 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# 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>
|