28f8ee4611
PR: ports/100996 Submitted by: stass
37 lines
819 B
Makefile
37 lines
819 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
|
|
WANT_FAM_SYSTEM=fam
|
|
|
|
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.mk>
|