mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
63cb9d26fd
PR: 96213 Submitted by: Ports fury
58 lines
1.3 KiB
Makefile
58 lines
1.3 KiB
Makefile
# New ports collection makefile for: p5-ming
|
|
# Date created: 18 September 2001
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ming
|
|
PORTVERSION= 0.3.0
|
|
CATEGORIES= graphics perl5
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
PKGNAMEPREFIX= p5-
|
|
DISTNAME= ${PORTNAME}-perl-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Perl5 module for Ming which allows you to create Flash 4/5 movies
|
|
|
|
LIB_DEPENDS= ming.4:${PORTSDIR}/graphics/ming
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/perl_ext
|
|
|
|
USE_PERL5= yes
|
|
PERL_CONFIGURE= yes
|
|
CONFIGURE_ENV= LOCALBASE="${LOCALBASE}"
|
|
|
|
MAN3= SWF.3 \
|
|
SWF::Action.3 \
|
|
SWF::Bitmap.3 \
|
|
SWF::Button.3 \
|
|
SWF::Constants.3 \
|
|
SWF::DisplayItem.3 \
|
|
SWF::Morph.3 \
|
|
SWF::Movie.3 \
|
|
SWF::Shape.3 \
|
|
SWF::Sound.3 \
|
|
SWF::Sprite.3 \
|
|
SWF::TextField.3 \
|
|
SWF::VideoStream.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
|
IGNORE= Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again.
|
|
.endif
|
|
|
|
post-patch:
|
|
@${ECHO_CMD} -n > ${WRKSRC}/../configure.in
|
|
@${LN} -sf ${LOCALBASE}/include/ming ${WRKSRC}/../src
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.* ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|