2002-06-04 20:40:21 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: eukleides
|
|
|
|
# Date created: Jun 4, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= eukleides
|
2005-11-09 01:24:49 +01:00
|
|
|
PORTVERSION= 1.0.3
|
2002-06-04 20:40:21 +02:00
|
|
|
CATEGORIES= math
|
2005-11-23 02:22:54 +01:00
|
|
|
MASTER_SITES= http://www.eukleides.org/download/
|
2004-05-17 20:40:46 +02:00
|
|
|
DISTNAME= ${PORTNAME}.${PORTVERSION}
|
2002-06-04 20:40:21 +02:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= A Euclidean geometry drawing language
|
2002-06-04 20:40:21 +02:00
|
|
|
|
|
|
|
RUN_DEPENDS= pstoedit:${PORTSDIR}/graphics/pstoedit \
|
2005-07-08 20:56:29 +02:00
|
|
|
epstopdf:${PORTSDIR}/print/teTeX-base
|
2002-06-04 20:40:21 +02:00
|
|
|
|
|
|
|
USE_BISON= yes
|
2004-03-07 17:41:47 +01:00
|
|
|
USE_REINPLACE= yes
|
2002-06-04 20:40:21 +02:00
|
|
|
USE_GMAKE= yes
|
2004-03-07 17:41:47 +01: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
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${GREP} -lR "#!/bin/bash" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|#!/bin/bash|#!/bin/sh|g'
|
2002-06-04 20:40:21 +02:00
|
|
|
|
2004-03-07 17:41:47 +01:00
|
|
|
do-install:
|
2005-07-08 20:56:29 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/eukleides ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/euk2edit ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/euk2eps ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/eukleides.1 ${MANPREFIX}/man/man1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/eukleides.info ${PREFIX}/${INFO_PATH}
|
2005-03-04 11:15:57 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/samples/*.euk ${EXAMPLESDIR}
|
|
|
|
.endif
|
2002-06-04 20:40:21 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|