summaryrefslogblamecommitdiff
path: root/www/evg/Makefile
blob: abde22ffd93818b2c0400049ea076d96ec683519 (plain) (tree)
1
2
3
4
5
6




                                                     
           




























                                                                                                 
# 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>