866400759e
just a direct API wrapper. (cf. Ruby/SDL)
40 lines
891 B
Makefile
40 lines
891 B
Makefile
# 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>
|