summaryrefslogtreecommitdiff
path: root/databases/p5-GDBM/Makefile
blob: 30cf020359a3da951c7f9b3439eb5691f6c71671 (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
26
27
28
# Created by: Nick Sayer <nsayer@FreeBSD.org>
# $FreeBSD$

PORTNAME=	GDBM
PORTVERSION=	1.14
PORTREVISION=	5
CATEGORIES=	databases perl5
MASTER_SITES=	CPAN/../../src
PKGNAMEPREFIX=	p5-
DISTNAME=	perl-5.14.2
DIST_SUBDIR=	perl

MAINTAINER=	perl@FreeBSD.org
COMMENT=	GNU Data Base Manager (gdbm) interface

LIB_DEPENDS=	libgdbm.so:databases/gdbm

EXTRACT_AFTER_ARGS=	${DISTNAME}/ext/GDBM_File ${DISTNAME}/t/lib

CFLAGS+=	-I${LOCALBASE}/include
USES=		perl5 tar:bzip2
USE_PERL5=	configure
WRKSRC_SUBDIR=	ext/GDBM_File

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/GDBM_File/GDBM_File.so

.include <bsd.port.mk>