pkgsrc/databases/p5-tokyocabinet/Makefile

30 lines
827 B
Makefile

# $NetBSD: Makefile,v 1.10 2009/02/16 11:25:35 obache Exp $
#
DISTNAME= tokyocabinet-perl-1.23
PKGNAME= p5-${DISTNAME:S/-perl-/-/}
PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tokyocabinet/}
DIST_SUBDIR= ${DISTNAME}-1
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://tokyocabinet.sourceforge.net/perldoc/
COMMENT= Perl binding of Tokyo Cabinet
PKG_DESTDIR_SUPPORT= user-destdir
PERL5_PACKLIST= auto/TokyoCabinet/.packlist
REPLACE_PERL= *.pl
INSTALLATION_DIRS+= share/tokyocabinet/doc/perl
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/index.html \
${DESTDIR}${PREFIX}/share/tokyocabinet/doc/perl/index.html
BUILDLINK_API_DEPENDS.tokyocabinet+= tokyocabinet>=1.4.6
.include "../../databases/tokyocabinet/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"