aboutsummaryrefslogtreecommitdiff
path: root/databases/qdbm/Makefile
blob: 0a936c703c3aacf44b61515ff6b1b5a2e4bc4ed5 (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:	QDBM
# Date created:				18 October 2003
# Whom:					Kimura Fuyuki <fuyuki@nigredo.org>
#
# $FreeBSD$
#

PORTNAME=	qdbm
PORTVERSION=	1.7.19
CATEGORIES=	databases
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	fuyuki@nigredo.org
COMMENT=	Quick Database Manager

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-zlib
MAKE_ARGS=	RELCFLAGS="${CFLAGS}" MYDATADIR="${DOCSDIR}"
INSTALLS_SHLIB=	yes

.if !defined(NOPORTDOCS)
MAKE_ARGS+=	MYDOCS="spex.html spex-ja.html ChangeLog NEWS"
.else
MAKE_ARGS+=	MYDOCS=""
.endif

MAN3=		cabin.3 curia.3 depot.3 hovel.3 odeum.3 qdbm.3 relic.3 villa.3
MLINKS=		curia.3 cropen.3 depot.3 dpopen.3 \
		odeum.3 odopen.3 villa.3 vlopen.3 villa.3 vista.3

post-build:
	cd ${WRKSRC}/lab; ${MAKE} CC="${CC}" CFLAGS="${CFLAGS}" fmtcnv031127

post-install:
	${INSTALL_PROGRAM} ${WRKSRC}/lab/fmtcnv031127 ${PREFIX}/bin

.include <bsd.port.mk>