diff options
Diffstat (limited to 'math/eukleides/Makefile')
-rw-r--r-- | math/eukleides/Makefile | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/math/eukleides/Makefile b/math/eukleides/Makefile index 2730fa317d11..82df689bfb71 100644 --- a/math/eukleides/Makefile +++ b/math/eukleides/Makefile @@ -7,8 +7,7 @@ # PORTNAME= eukleides -PORTVERSION= 0.9.2.1 -PORTREVISION= 1 +PORTVERSION= 0.9.2.2 CATEGORIES= math MASTER_SITES= http://perso.wanadoo.fr/obrecht/download/ DISTNAME= ${PORTNAME}.${PORTVERSION:R}rev${PORTVERSION:E} @@ -19,12 +18,28 @@ COMMENT= A Euclidean geometry drawing language RUN_DEPENDS= pstoedit:${PORTSDIR}/graphics/pstoedit \ epstopdf:${PORTSDIR}/print/teTeX -WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION:R} - USE_BISON= yes +USE_REINPLACE= yes USE_GMAKE= yes +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' -MAN1= eukleides.1 -MLINKS= eukleides.1 euk2eps.1 eukleides.1 euk2edit.1 +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 .include <bsd.port.mk> |