summaryrefslogtreecommitdiff
path: root/databases/sdbm/Makefile
blob: 67f956edc4fb09146018c9a4e4a034a088ca98dd (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.4 2001/02/16 14:17:40 wiz Exp $
#

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

MAINTAINER=		packages@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"