freebsd-ports/graphics/svg2swf/Makefile
Mario Sergio Fujikawa Ferreira f0a1969d34 o Rollback PORTCOMMENT modifications while this feature's implementation
is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
2002-11-10 16:48:51 +00:00

43 lines
896 B
Makefile

# ex:ts=8
# New ports collection makefile for: svg2swf
# Date created: 24 August 2000
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= svg2swf
PORTVERSION= 0.1.3
CATEGORIES= graphics python
MASTER_SITES= http://www.eskimo.com/~robla/svg2swf/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= # empty
MAINTAINER= ports@FreeBSD.org
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/${PACKAGE_DIR}/sax/saxexts.py:${PORTSDIR}/textproc/py-xml \
${PYTHON_SITELIBDIR}/ming.py:${PORTSDIR}/graphics/py-ming
USE_REINPLACE= yes
USE_PYTHON= yes
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_VERSION} == "python1.5"
PACKAGE_DIR= xml
.else
PACKAGE_DIR= _xmlplus
.endif
do-extract:
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
post-patch:
@${REINPLACE_CMD} -e "s,/usr/bin/python,${PYTHON_CMD},g" ${WRKSRC}/svg2swf
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/svg2swf ${PREFIX}/bin
.include <bsd.port.post.mk>