freebsd-ports/databases/p5-GDBM/Makefile
Sunpoet Po-Chuan Hsieh 5b04d9ad45 Strip shared library
- Use WRKSRC_SUBDIR
- Bump PORTREVISION for package change
2017-06-04 11:47:32 +00:00

28 lines
632 B
Makefile

# Created by: Nick Sayer <nsayer@FreeBSD.org>
# $FreeBSD$
PORTNAME= GDBM
PORTVERSION= 1.14
PORTREVISION= 4
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>