aboutsummaryrefslogtreecommitdiffstats
path: root/databases/sqlite2/Makefile
blob: d30850364bb2afa83f6180f870bd283cc6d1ffc0 (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
# ex:ts=8
# New ports collection makefile for:    sqlite
# Date created:         Feb 21, 2001
# Whom:             Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   sqlite
PORTVERSION=    1.0.27
CATEGORIES= databases
MASTER_SITES=   http://www.hwaci.com/sw/sqlite/
DISTNAME=   ${PORTNAME}

MAINTAINER= ijliao@FreeBSD.org

LIB_DEPENDS=    gdbm.2:${PORTSDIR}/databases/gdbm

GNU_CONFIGURE=  yes
CONFIGURE_SCRIPT=   ../sqlite/configure
CONFIGURE_ENV=  LDFLAGS="-L${LOCALBASE}/lib" CFLAGS="-L${LOCALBASE}/lib"

WRKSRC=     ${WRKDIR}/bld

post-extract:
    @${MKDIR} ${WRKSRC}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/sqlite ${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/libsqlite.a ${PREFIX}/lib
    ${INSTALL_DATA} ${WRKSRC}/sqlite.h ${PREFIX}/include

.include <bsd.port.mk>