freebsd-ports/www/evg/Makefile

43 lines
1,004 B
Makefile
Raw Normal View History

# New ports collection makefile for: evg
# Date created: 19 April 1999
# Whom: Dima Sivachenko <dima@chg.ru>
#
# $FreeBSD$
#
PORTNAME= evg
2000-11-26 14:43:44 +01:00
PORTVERSION= 1.3.1
CATEGORIES= www
2000-11-26 14:43:44 +01:00
MASTER_SITES= ftp://ftp.zurich.ibm.com//pub/sob/www/halloween/ \
http://www.chg.ru/~dima/
2000-11-26 14:43:44 +01:00
DISTNAME= evg-1_3_1
EXTRACT_SUFX= _tar
MAINTAINER= demon@FreeBSD.org
COMMENT= Create index pages in HTML for photo galleries
RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
RUN_DEPENDS+= xv:${PORTSDIR}/graphics/xv
2000-11-26 14:43:44 +01:00
USE_PYTHON= yes
NO_BUILD= yes
2000-11-26 14:43:44 +01:00
WRKSRC= ${WRKDIR}/${PKGNAME}
post-patch:
@ ${PERL} -pi -e 's#/usr/bin/python#${PYTHON_CMD}# ; \
s#/usr/X11R6#${X11BASE}# ; \
s#/usr/bin/ee#${X11BASE}/bin/xv#' ${WRKSRC}/evg
do-install:
2000-11-26 14:43:44 +01:00
@ ${MKDIR} ${PYTHON_SITELIBDIR}
@ ${INSTALL_DATA} ${WRKSRC}/eclipthtml.py ${PYTHON_SITELIBDIR}
@ ${INSTALL_SCRIPT} ${WRKSRC}/evg ${PREFIX}/bin
2001-06-09 21:32:14 +02:00
.if !defined(NOPORTDOCS)
2000-11-26 14:43:44 +01:00
@ ${MKDIR} ${PREFIX}/share/doc/evg
2001-07-15 10:21:18 +02:00
@ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
2000-11-26 14:43:44 +01:00
.endif
.include <bsd.port.mk>