aboutsummaryrefslogtreecommitdiffstats
path: root/www/dtse/Makefile
blob: 7e3005349546dbb5499ac894130920bd182650fd (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
# Created by: Douglas Thrift <douglas@douglasthrift.net>
# $FreeBSD$

PORTNAME=   dtse
PORTVERSION=    1.3
CATEGORIES= www perl5
MASTER_SITES=   http://apt.douglasthrift.net/files/${PORTNAME}/ \
        http://code.douglasthrift.net/files/${PORTNAME}/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= douglas@douglasthrift.net
COMMENT=    An indexing search engine for use on small websites

LICENSE=    APACHE20

BUILD_DEPENDS=  ${LOCALBASE}/share/aclocal/ax_check_gnu_make.m4:${PORTSDIR}/devel/autoconf-archive

.if defined(WITH_OPENSSL)
USE_OPENSSL=    yes
CONFIGURE_ARGS+=    --with-openssl=${OPENSSLBASE}
.endif

USES=       gmake perl5
USE_BZIP2=  yes
USE_AUTOTOOLS=  aclocal:env automake:env autoconf:env

HAS_CONFIGURE=  yes
CONFIGURE_ARGS+=    --prefix=${PREFIX}/${PORTNAME}

MAKEFILE=   GNUmakefile

WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}

pre-configure:
    cd ${WRKSRC}; ${SH} autogen.sh

.include <bsd.port.mk>