1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/www/evg/Makefile
2000-11-26 13:43:44 +00:00

42 lines
1011 B
Makefile

# New ports collection makefile for: evg
# Date created: 19 April 1999
# Whom: Dima Sivachenko <dima@chg.ru>
#
# $FreeBSD$
#
PORTNAME= evg
PORTVERSION= 1.3.1
CATEGORIES= www
MASTER_SITES= ftp://ftp.zurich.ibm.com//pub/sob/www/halloween/ \
http://www.chg.ru/~dima/
DISTNAME= evg-1_3_1
EXTRACT_SUFX= _tar
MAINTAINER= demon@FreeBSD.org
RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
RUN_DEPENDS+= xv:${PORTSDIR}/graphics/xv
USE_PYTHON= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PKGNAME}
post-patch:
@ ${PERL} -pi -e 's#/usr/bin/python#${PYTHON_CMD}#' ${WRKSRC}/evg
@ ${PERL} -pi -e 's#/usr/X11R6#${X11BASE}#' ${WRKSRC}/evg
@ ${PERL} -pi -e 's#/usr/bin/ee#${X11BASE}/bin/xv#' ${WRKSRC}/evg
do-install:
@ ${MKDIR} ${PYTHON_SITELIBDIR}
@ ${INSTALL_DATA} ${WRKSRC}/eclipthtml.py ${PYTHON_SITELIBDIR}
@ ${INSTALL_SCRIPT} ${WRKSRC}/evg ${PREFIX}/bin
.ifndef{NOPORTDOC}
@ ${MKDIR} ${PREFIX}/share/doc/evg
@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/evg
.endif
.include <bsd.port.mk>