2001-03-06 15:13:50 +01:00
|
|
|
# New ports collection makefile for: FXRuby
|
|
|
|
# Date created: 24 February 2001
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= fox
|
2005-08-01 18:44:19 +02:00
|
|
|
PORTVERSION= 1.2.6
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 2
|
2001-03-06 15:13:50 +01:00
|
|
|
CATEGORIES= x11-toolkits ruby
|
2006-08-08 13:35:27 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
|
2001-03-06 15:13:50 +01:00
|
|
|
MASTER_SITE_SUBDIR= fxruby
|
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2003-02-08 09:54:39 +01:00
|
|
|
DISTNAME= FXRuby-${PORTVERSION}
|
2001-03-06 15:13:50 +01:00
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2007-06-29 18:29:19 +02:00
|
|
|
MAINTAINER= araujo@FreeBSD.org
|
2004-12-19 00:30:03 +01:00
|
|
|
COMMENT= Ruby extension module to use FOX 1.2, aka FXRuby
|
2001-03-06 15:13:50 +01:00
|
|
|
|
2005-08-01 18:44:19 +02:00
|
|
|
LIB_DEPENDS= FOX-1.2:${PORTSDIR}/x11-toolkits/fox12 \
|
2001-09-11 05:32:41 +02:00
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
2004-06-24 10:46:49 +02:00
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2007-03-29 12:34:35 +02:00
|
|
|
fxscintilla.19:${PORTSDIR}/x11-toolkits/fxscintilla-fox12
|
|
|
|
|
|
|
|
LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}12
|
2005-07-17 21:53:52 +02:00
|
|
|
|
2005-08-01 18:44:19 +02:00
|
|
|
FETCH_CMD= /usr/bin/fetch -Rr
|
2001-03-06 15:13:50 +01:00
|
|
|
USE_RUBY= yes
|
2001-07-29 18:37:10 +02:00
|
|
|
USE_RUBY_SETUP= yes
|
2002-01-26 20:56:26 +01:00
|
|
|
RUBY_SETUP= install.rb
|
2004-12-19 00:30:03 +01:00
|
|
|
NOHARM_ARGS= --no-harm
|
2001-03-06 15:13:50 +01:00
|
|
|
|
|
|
|
USE_XLIB= yes
|
2004-12-19 00:30:03 +01:00
|
|
|
USE_GL= yes
|
|
|
|
|
|
|
|
install-noharm:
|
|
|
|
cd ${WRKSRC}; \
|
|
|
|
${SETENV} ${MAKE_ENV} ${RUBY} ${RUBY_FLAGS} ${RUBY_SETUP} install ${NOHARM_ARGS} ${RUBY_INSTALL_ARGS}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${ECHO_MSG} "===> Running ${RUBY_SETUP} to install"
|
|
|
|
@cd ${INSTALL_WRKSRC}; \
|
|
|
|
${SETENV} ${MAKE_ENV} ${RUBY} ${RUBY_FLAGS} ${RUBY_SETUP} install ${RUBY_INSTALL_ARGS}
|
2001-03-06 15:13:50 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|