1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/databases/ruby-tokyocabinet/Makefile
Adam Weinberger 44eaadcb75 Add OPTIONS_DEFINE=DOCS for ports with %%PORTDOCS%% in the plist.
Where possible, correct a few instances where PORTDOCS was being used
to flag stuff in EXAMPLESDIR. For some ports, mostly those owned by
ruby@, PORTDOCS is applied to pretty much everything whether it's
documentation or example.
2014-07-15 23:11:12 +00:00

33 lines
704 B
Makefile

# Created by: Damian Gerow <dgerow@afflictions.org>
# $FreeBSD$
PORTNAME= tokyocabinet
PORTVERSION= 1.31
CATEGORIES= databases ruby
MASTER_SITES= http://fallabs.com/${PORTNAME}/rubypkg/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= dgerow@afflictions.org
COMMENT= Ruby interface to the Tokyo Cabinet DB engine
LIB_DEPENDS= libtokyocabinet.so:${PORTSDIR}/databases/tokyocabinet
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
DOCS= doc/*
OPTIONS_DEFINE= DOCS
post-install:
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
.for f in ${DOCS}
${CP} -R ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
.endfor
.include <bsd.port.mk>