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.
30 lines
630 B
Makefile
30 lines
630 B
Makefile
# Created by: Christopher Boumenot <boumenot@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= wirble
|
|
PORTVERSION= 0.1.3
|
|
CATEGORIES= devel ruby
|
|
MASTER_SITES=http://pablotron.org/files/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
|
COMMENT= Set of enhancements of irb
|
|
|
|
DOCS_EN= README
|
|
|
|
USE_RUBY= yes
|
|
do-build:
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/lib/wirble.rb ${STAGEDIR}${RUBY_SITELIBDIR}/
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
|
|
.for f in ${DOCS_EN}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|