fbd0197639
- Update audio/sdl_mixer to 1.2.15 - Update graphics/sdl_image to 1.2.12 - Update graphics/sdl_ttf to 2.0.11 - Update graphics/sdl_gfx to 2.0.23 - Update net/sdl_net to 1.2.8 - Bump PORTREVISIONs on ports that depend on one or more packages due to ABI and shared library version changes - Update Mk/bsd.sdl.mk accordingly for the new shared library versions Tested by: exp-run by pav
71 lines
1.5 KiB
Makefile
71 lines
1.5 KiB
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.8
|
|
PORTREVISION= 11
|
|
CATEGORIES= devel ruby
|
|
MASTER_SITES= SF
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTFILES= ${DISTNAME}-source${EXTRACT_SUFX}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= erik@bz.bzflag.bz
|
|
COMMENT= A high level library to use SDL from Ruby
|
|
|
|
USE_SDL= gfx image mixer ttf sdl
|
|
USE_RUBY= yes
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
#NO_WRKSUBDIR= yes
|
|
CONFIGURE_ARGS= --with-sdl-config="sdl-config"
|
|
INSTALL_TARGET= site-install
|
|
|
|
DOCS= RUDL/audio.html \
|
|
RUDL/cdrom.html \
|
|
RUDL/displaysurface.html \
|
|
RUDL/fonts.html \
|
|
RUDL/index.html \
|
|
RUDL/input.html \
|
|
RUDL/misc.html \
|
|
RUDL/rudl.html \
|
|
RUDL/sfont.gif \
|
|
RUDL/surface.html \
|
|
RUDL/timer.html \
|
|
dokumentat.css \
|
|
howto_install.html \
|
|
howto_use.html \
|
|
index.html \
|
|
rudl.css
|
|
|
|
EXAMPLES= samples/*
|
|
|
|
post-extract:
|
|
@${RUBY} -i -pe 'sub(/\r$$/, "")' \
|
|
${WRKSRC}/*.[ch] \
|
|
${WRKSRC}/extconf.rb
|
|
|
|
post-patch:
|
|
@${RUBY} -i -pe 'sub(/malloc.h/, "stdlib.h")' \
|
|
${WRKSRC}/bitmask.c
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
${CP} -R ${WRKSRC}/samples/* ${RUBY_MODEXAMPLESDIR}/
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
|
${MKDIR} ${RUBY_MODDOCDIR}/RUDL
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${RUBY_MODDOCDIR}/${f}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.if ${RUBY_VER} == 1.9
|
|
BROKEN= does not build with ruby 1.9
|
|
.endif
|
|
.include <bsd.port.post.mk>
|