pkgsrc/databases/p5-tokyocabinet/Makefile

28 lines
786 B
Makefile

# $NetBSD: Makefile,v 1.11 2009/03/21 05:33:12 obache Exp $
#
DISTNAME= tokyocabinet-perl-1.24
PKGNAME= p5-${DISTNAME:S/-perl-/-/}
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tokyocabinet/}
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.10
.include "../../databases/tokyocabinet/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"