aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db/Makefile
blob: 551e68ed71c9a4477f3e5d409d5dc293abd1ec40 (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
# New ports collection makefile for:   db-netbsd
# Date created:        1 January 2004
# Whom:                Edwin Groothuis (edwin@mavetju.org)
#
# $FreeBSD$
#

PORTNAME=   db
PORTVERSION=    1.14
PORTEPOCH=  1
CATEGORIES= databases
MASTER_SITES=   http://www.mavetju.org/download/

MAINTAINER= edwin@mavetju.org
COMMENT=    Manipulate db(3)'s btree(3) and hash(3) databases - NetBSD port

MAN1=       db.1
MANCOMPRESSED=  yes
PLIST_FILES=    bin/db

MAKE_ENV=   BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX}

DIST_CVS=   http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/usr.bin/db/db
DB1VERSION= 1.17
MAKEVERSION=    1.2
DIST_DB1=   http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/usr.bin/db/db.1?rev=${DB1VERSION}&content-type=text/plain&only_with_tag=HEAD
DIST_DBC=   http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/usr.bin/db/db.c?rev=${PORTVERSION}&content-type=text/plain
DIST_MAKEFILE=  http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/usr.bin/db/Makefile?rev=${MAKEVERSION}&content-type=text/plain

tarball:
    ${MKDIR} ${WRKSRC}
    fetch -o ${WRKSRC}/db.1 "${DIST_DB1}"
    fetch -o ${WRKSRC}/db.c "${DIST_DBC}"
    fetch -o ${WRKSRC}/Makefile "${DIST_MAKEFILE}"
    cd ${WRKDIR} && ${TAR} zcvf ${DISTFILES} ${PORTNAME}-${PORTVERSION}
    ${MV} ${WRKDIR}/${DISTFILES} ${DISTDIR}

.include <bsd.port.mk>