aboutsummaryrefslogtreecommitdiffstats
path: root/www/dtse/Makefile
blob: 77373a9770aedc6403b33ffe5cdb2bf6e7f3b423 (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
# New ports collection makefile for: dtse
# Date created: 7 Mar 2004
# Whom: 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=    AL2

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

USE_PERL5=  yes
USE_BZIP2=  yes
USE_GMAKE=  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>