freebsd-ports/graphics/p5-SWF-Builder/Makefile
Marcelo Araujo 4aaab89f57 - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_CPAN} to CPAN.
PR:		ports/122674
Submitted by:	Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:	araujo (myself)
Approved by:	portmgr (pav)
2008-04-17 14:30:31 +00:00

41 lines
1.1 KiB
Makefile

# New ports collection makefile for: SWF-Builder
# Date created: 25 December 2003
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= SWF-Builder
PORTVERSION= 0.16
CATEGORIES= graphics www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Create SWF movie
BUILD_DEPENDS= ${SITE_PERL}/SWF/Element.pm:${PORTSDIR}/graphics/p5-SWF-File \
${SITE_PERL}/Math/Bezier/Convert.pm:${PORTSDIR}/math/p5-Math-Bezier-Convert \
${SITE_PERL}/Font/TTF/Font.pm:${PORTSDIR}/x11-fonts/p5-Font-TTF
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= 5.8.0+
MAN3= SWF::Builder.3 SWF::Builder::ActionScript.3 \
SWF::Builder::Character::Bitmap.3 \
SWF::Builder::Character::EditText.3 \
SWF::Builder::Character::Font.3 \
SWF::Builder::Character::MovieClip.3 \
SWF::Builder::Character::Shape.3 \
SWF::Builder::Character::Sound.3 \
SWF::Builder::Character::Text.3 SWF::Builder::Gradient.3
MAN1= asc.plx.1
post-patch:
@${FIND} ${WRKSRC} -type f |\
${XARGS} ${PERL} -pi -e 's/\x0d(?=\x0a)//'
post-configure:
@${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' ${WRKSRC}/Makefile
.include <bsd.port.mk>