2001-09-18 09:02:14 +02:00
|
|
|
# New ports collection makefile for: p5-ming
|
|
|
|
# Date created: 18 September 2001
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ming
|
2006-04-18 21:01:06 +02:00
|
|
|
PORTVERSION= 0.3.0
|
2001-09-18 09:02:14 +02:00
|
|
|
CATEGORIES= graphics perl5
|
2006-04-18 21:01:06 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-09-18 09:02:14 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
2006-04-18 21:01:06 +02:00
|
|
|
DISTNAME= ${PORTNAME}-perl-${PORTVERSION}
|
2001-09-18 09:02:14 +02:00
|
|
|
|
2005-11-11 02:18:01 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-18 06:52:56 +01:00
|
|
|
COMMENT= Perl5 module for Ming which allows you to create Flash 4/5 movies
|
2001-09-18 09:02:14 +02:00
|
|
|
|
2006-04-18 21:01:06 +02:00
|
|
|
LIB_DEPENDS= ming.4:${PORTSDIR}/graphics/ming
|
2001-09-18 09:02:14 +02:00
|
|
|
|
2006-04-18 21:01:06 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/perl_ext
|
2001-09-18 09:02:14 +02:00
|
|
|
|
2006-04-18 21:01:06 +02:00
|
|
|
USE_PERL5= yes
|
2001-09-18 09:02:14 +02:00
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= LOCALBASE="${LOCALBASE}"
|
|
|
|
|
|
|
|
MAN3= SWF.3 \
|
|
|
|
SWF::Action.3 \
|
|
|
|
SWF::Bitmap.3 \
|
|
|
|
SWF::Button.3 \
|
2006-04-18 21:01:06 +02:00
|
|
|
SWF::Constants.3 \
|
2001-09-18 09:02:14 +02:00
|
|
|
SWF::DisplayItem.3 \
|
|
|
|
SWF::Morph.3 \
|
2006-04-18 21:01:06 +02:00
|
|
|
SWF::Movie.3 \
|
2001-09-18 09:02:14 +02:00
|
|
|
SWF::Shape.3 \
|
2006-04-18 21:01:06 +02:00
|
|
|
SWF::Sound.3 \
|
|
|
|
SWF::Sprite.3 \
|
|
|
|
SWF::TextField.3 \
|
|
|
|
SWF::VideoStream.3
|
2001-09-18 09:02:14 +02:00
|
|
|
|
2006-04-18 21:01:06 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-04-24 10:20:55 +02:00
|
|
|
.if ${PERL_LEVEL} < 500600
|
|
|
|
IGNORE= Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again.
|
2006-04-18 21:01:06 +02:00
|
|
|
.endif
|
2001-09-18 09:02:14 +02:00
|
|
|
|
2006-04-18 21:01:06 +02:00
|
|
|
post-patch:
|
|
|
|
@${ECHO_CMD} -n > ${WRKSRC}/../configure.in
|
|
|
|
@${LN} -sf ${LOCALBASE}/include/ming ${WRKSRC}/../src
|
2001-09-18 09:02:14 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2006-04-18 21:01:06 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.* ${EXAMPLESDIR}
|
2001-09-18 09:02:14 +02:00
|
|
|
.endif
|
|
|
|
|
2006-04-18 21:01:06 +02:00
|
|
|
.include <bsd.port.post.mk>
|