diff options
author | knu <knu@FreeBSD.org> | 2001-04-10 08:10:50 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-04-10 08:10:50 +0000 |
commit | 8382319fc14096dfbe301fbc94b410a63b9eb82c (patch) | |
tree | 9d7ab36413a4938fee3854aa5c992fa82a12ca72 /devel/ruby-rudl/Makefile | |
parent | a344de4590c8a7721804a6a6c9366fd06972ef87 (diff) | |
download | FreeBSD-ports-8382319fc14096dfbe301fbc94b410a63b9eb82c.zip FreeBSD-ports-8382319fc14096dfbe301fbc94b410a63b9eb82c.tar.gz |
Add ruby-rudl, a high level library to use SDL from Ruby, rather than
just a direct API wrapper. (cf. Ruby/SDL)
Diffstat (limited to 'devel/ruby-rudl/Makefile')
-rw-r--r-- | devel/ruby-rudl/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/devel/ruby-rudl/Makefile b/devel/ruby-rudl/Makefile new file mode 100644 index 0000000..cfb2fea --- /dev/null +++ b/devel/ruby-rudl/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: RuDL +# Date created: 10 April 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= rudl +PORTVERSION= 0.1 +CATEGORIES= devel ruby +MASTER_SITES= http://froukepc.dhs.org/rudl/download/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12 + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes + +CONFIGURE_ARGS= --with-sdl-config="sdl11-config" +INSTALL_TARGET= site-install + +DOCS= README + +post-patch: + ${RUBY} -i -pe 'gsub %r:\.\./:, ""' ${WRKSRC}/samples/*.rb + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/samples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/ + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME} +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ +.endfor +.endif + +.include <bsd.port.mk> |