2002-06-04 14:40:21 -04:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: eukleides
|
|
|
|
# Date created: Jun 4, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= eukleides
|
2004-03-07 11:41:47 -05:00
|
|
|
PORTVERSION= 0.9.2.2
|
2002-06-04 14:40:21 -04:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= http://perso.wanadoo.fr/obrecht/download/
|
2003-01-03 13:05:34 -05:00
|
|
|
DISTNAME= ${PORTNAME}.${PORTVERSION:R}rev${PORTVERSION:E}
|
2002-06-04 14:40:21 -04:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 14:00:52 -05:00
|
|
|
COMMENT= A Euclidean geometry drawing language
|
2002-06-04 14:40:21 -04:00
|
|
|
|
|
|
|
RUN_DEPENDS= pstoedit:${PORTSDIR}/graphics/pstoedit \
|
|
|
|
epstopdf:${PORTSDIR}/print/teTeX
|
|
|
|
|
|
|
|
USE_BISON= yes
|
2004-03-07 11:41:47 -05:00
|
|
|
USE_REINPLACE= yes
|
2002-06-04 14:40:21 -04:00
|
|
|
USE_GMAKE= yes
|
2004-03-07 11:41:47 -05:00
|
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -c"
|
|
|
|
ALL_TARGET= eukleides info
|
|
|
|
|
|
|
|
MAN1= eukleides.1
|
|
|
|
MLINKS= eukleides.1 euk2eps.1 \
|
|
|
|
eukleides.1 euk2edit.1
|
|
|
|
INFO= eukleides
|
|
|
|
PLIST_FILES= bin/euk2edit bin/euk2eps bin/eukleides
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${GREP} -lR "#!/bin/bash" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|#!/bin/bash|#!/bin/sh|g'
|
2002-06-04 14:40:21 -04:00
|
|
|
|
2004-03-07 11:41:47 -05:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/eukleides ${PREFIX}/bin/eukleides
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/euk2edit ${PREFIX}/bin/euk2edit
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/euk2eps ${PREFIX}/bin/euk2eps
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/eukleides.man ${MANPREFIX}/man/man1/eukleides.1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/eukleides.info ${PREFIX}/info/eukleides.info
|
|
|
|
@install-info ${PREFIX}/info/eukleides.info ${PREFIX}/info/dir
|
2002-06-04 14:40:21 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|