summaryrefslogtreecommitdiff
path: root/databases/sdbm/Makefile
blob: 7c7171bf2a122892f020fbcbe9650cb655368549 (plain)
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
# $NetBSD: Makefile,v 1.7 2003/06/02 01:21:00 jschauma Exp $
#

DISTNAME=		sdbm
# this is the Dec. 1990 release with some race condition fixes from an
# unknown outside source:
PKGNAME=		sdbm-90.12.1
WRKSRC=			${WRKDIR}
CATEGORIES=		databases
MASTER_SITES=		ftp://tsx-11.mit.edu/pub/linux/sources/libs/
EXTRACT_SUFX=		.tar.Z

MAINTAINER=		tech-pkg@netbsd.org
COMMENT=		Substitute DBM, an implementation of the `real' ndbm library

MAKE_ENV+=		LIBDIR=${PREFIX}/lib NOLINT=1

post-extract:
	@cd ${WRKDIR} && ${SH} sdbm.shar >/dev/null

post-install:
	${INSTALL_DATA} ${WRKSRC}/sdbm.h ${PREFIX}/include/
	${INSTALL_MAN} ${WRKSRC}/sdbm.3 ${PREFIX}/man/man3/

.include "../../mk/bsd.pkg.mk"