1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/www/evg/Makefile

36 lines
943 B
Makefile

# New ports collection makefile for: evg
# Version required: 1.0.1
# Date created: 19 April 1999
# Whom: Dima Sivachenko <dima@chg.ru>
#
# $FreeBSD$
#
DISTNAME= evg-1.01
PKGNAME= evg-1.0.1
CATEGORIES= www
MASTER_SITES= ftp://ftp.uni-klu.ac.at/pub/projects/evg/ \
http://www.chg.ru/~dima/
MAINTAINER= dima@Chg.RU
RUN_DEPENDS= python:${PORTSDIR}/lang/python
RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
RUN_DEPENDS+= xv:${PORTSDIR}/graphics/xv
NO_BUILD= yes
post-patch:
@ ${MV} ${WRKSRC}/evg.py ${WRKSRC}/evg.py.sed
@ ${SED} -e 's%!!PREFIX!!%${PREFIX}%' < ${WRKSRC}/evg.py.sed \
> ${WRKSRC}/evg.py.sed1
@ ${SED} -e 's%!!XPREF!!%${X11BASE}%' < ${WRKSRC}/evg.py.sed1 \
> ${WRKSRC}/evg.py
do-install:
@ ${MKDIR} ${PREFIX}/lib/python1.5/site-packages
@ ${INSTALL_SCRIPT} ${WRKSRC}/eclipthtml.py ${PREFIX}/lib/python1.5/site-packages
@ ${INSTALL_SCRIPT} ${WRKSRC}/evg.py ${PREFIX}/bin
.include <bsd.port.mk>