Update lang/gcc6-devel to version 6.2.1.s20160825
[dports.git] / www / swish-e / Makefile
1 # Created by: Daniel O'Connor <doconnor@gsoft.com.au>
2 # $FreeBSD$
3
4 PORTNAME=       swish-e
5 PORTVERSION=    2.4.7
6 PORTREVISION=   4
7 CATEGORIES=     www textproc
8 MASTER_SITES=   http://swish-e.org/distribution/
9
10 MAINTAINER=     ports@FreeBSD.org
11 COMMENT=        Simple web indexing for humans - enhanced
12
13 USE_LDCONFIG=   yes
14 USE_GNOME=      libxml2
15 USES=           gmake libtool perl5 shebangfix
16 SHEBANG_FILES=  src/swishspider
17 GNU_CONFIGURE=  yes
18 MAKE_ARGS+=     pkgconfigdir="${PREFIX}/libdata/pkgconfig" \
19                 pkgdatadir="${DATADIR}"
20 INSTALL_TARGET= install-strip
21
22 OPTIONS_DEFINE= DOCS
23
24 PORTDOCS=       *
25
26 .include <bsd.port.options.mk>
27
28 post-patch:
29 .if empty(PORT_OPTIONS:MDOCS)
30         @${REINPLACE_CMD} -E 's/^(install-data-am:) install-docDATA(.*)/\1\2/' \
31                 ${WRKSRC}/Makefile.in
32 .for p in pod prog-bin conf filter-bin filters html
33         @${REINPLACE_CMD} -E 's/^(install-data-am:).*DATA(.*)/\1\2/' \
34                 ${WRKSRC}/${p}/Makefile.in
35 .endfor
36 .endif
37
38 .include <bsd.port.mk>