summaryrefslogtreecommitdiffstats
path: root/www/evg/Makefile
blob: 28ed4aaa089b4c18d3c4a229c6c005e66ac89de1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:	evg
# Date created:		19 April 1999
# Whom:			Dima Sivachenko	<dima@chg.ru>
#
# $FreeBSD$
#

PORTNAME=	evg
PORTVERSION=	1.0.1
CATEGORIES=	www
MASTER_SITES=	ftp://ftp.uni-klu.ac.at/pub/projects/evg/	\
		http://www.chg.ru/~dima/
DISTNAME=	evg-1.01

MAINTAINER=	demon@FreeBSD.org

RUN_DEPENDS=	python1.5:${PORTSDIR}/lang/python15
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>
OpenPOWER on IntegriCloud