1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/irc/xchat-ruby/Makefile
Dirk Meyer 4cd9218473 For those of us that prefer the Ruby programming language above all others,
the XChat-Ruby Plugin now allows X-Chat plugins to written in Ruby,
in addition to the other supported scripting interfaces. This means that,
for the first time, you can use a purely object-oriented language
in which to write X-Chat plugins.

WWW: http://xchat-ruby.sourceforge.net/
2008-06-21 22:11:50 +00:00

48 lines
1.2 KiB
Makefile

# New ports collection makefile for: XChat ruby
# Date created: 21 Jun 2008
# Whom: dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
PORTNAME= ruby
PORTVERSION= 1.2
CATEGORIES= irc ruby
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}
PKGNAMEPREFIX= xchat-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}-src
MAINTAINER= dinoex@FreeBSD.org
COMMENT= An ruby-scripting plugin for XChat
RUN_DEPENDS= xchat:${PORTSDIR}/irc/xchat
USE_RUBY= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/src
DOCSRC= ${WRKDIR}/${DISTNAME}
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
PLIST_FILES= lib/xchat/plugins/xchat-ruby.so
PORTDOCS= README ChangeLog
PORTEXAMPLES= embedify.rb TimerSample.rb JFilter.rb JBanner.rb
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xchat-ruby.so \
${PREFIX}/lib/xchat/plugins/
.ifndef(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${DOCSRC}/${doc} \
${DOCSDIR}/
.endfor
.endif
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
.for doc in ${PORTEXAMPLES}
${INSTALL_DATA} ${DOCSRC}/*/${doc} \
${EXAMPLESDIR}/
.endfor
.endif
.include <bsd.port.mk>