mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
44eaadcb75
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.
33 lines
704 B
Makefile
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>
|