freebsd-ports/graphics/ruby-ming/Makefile

58 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: Ruby/Ming
# Date created: 16 Oct 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= ming
2001-09-18 07:57:17 +02:00
PORTVERSION= 0.2a
CATEGORIES= graphics ruby
2001-03-20 10:32:55 +01:00
MASTER_SITES= # none
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
2001-03-20 10:32:55 +01:00
DISTFILES= # none
MAINTAINER= knu@FreeBSD.org
2003-02-18 06:20:09 +01:00
COMMENT= Ruby module for Ming which allows you to create Flash 4/5 movies
EXTRACT_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/graphics/ming:patch
BUILD_DEPENDS= ${SWIG}:${PORTSDIR}/devel/swig13
2001-09-18 07:57:17 +02:00
LIB_DEPENDS= ming.3:${PORTSDIR}/graphics/ming
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
MD5_FILE= ${.CURDIR}/../ming/distinfo
WRKSRC= ${WRKDIR}/${DISTNAME}/rb_ext
CONFIGURE_ARGS= --with-ming-include="${LOCALBASE}/include/ming"
2002-10-30 14:16:07 +01:00
MAKE_ARGS= SWIG="${SWIG}"
INSTALL_TARGET= site-install
SWIG= swig1.3
2001-09-18 08:31:03 +02:00
EXAMPLES= ../examples/rb/*.rb
2001-03-20 10:32:55 +01:00
do-extract:
${MKDIR} ${WRKDIR}
2002-03-30 13:12:53 +01:00
${LN} -s `cd ${PORTSDIR}/graphics/ming; ${MAKE} -V WRKDIR`/* ${WRKDIR}/
2001-03-20 10:32:55 +01:00
post-extract:
2000-10-25 06:32:36 +02:00
${LN} -sf ../ming.i ${WRKSRC}/
pre-configure:
cd ${CONFIGURE_WRKSRC}; \
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} depend ${MAKE_ARGS} ming_wrap.c; \
${RM} -f depend
post-install:
${INSTALL_DATA} ${WRKSRC}/ming.rb ${RUBY_SITELIBDIR}/
.if !defined(NOPORTDOCS)
2002-10-06 23:08:30 +02:00
${MKDIR} ${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES}
2002-10-06 23:08:30 +02:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
.endfor
.endif
.include <bsd.port.mk>