e7abcc4e4e
Approved by: portmgr
40 lines
898 B
Makefile
40 lines
898 B
Makefile
# New ports collection makefile for: FAM-Ruby
|
|
# Date created: 11 June 2002
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fam
|
|
PORTVERSION= 0.2.0
|
|
PORTREVISION= 0
|
|
CATEGORIES= devel ruby
|
|
MASTER_SITES= http://www.pablotron.org/download/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= stas@FreeBSD.org
|
|
COMMENT= FAM bindings for Ruby
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_EXTCONF=yes
|
|
USE_FAM= yes
|
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
DOCS= README doc event_codes.txt
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}/
|
|
@(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "${DOCS}" ${RUBY_MODDOCDIR}/)
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.if ${RUBY_VER} == 1.9
|
|
BROKEN= does not build with ruby 1.9
|
|
.endif
|
|
.include <bsd.port.post.mk>
|