mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Update to 1.5.4
- Add LICENSE information - Add STAGE support - Fix building with clang
This commit is contained in:
parent
11721bb61f
commit
ffc72665c6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358798
@ -2,24 +2,28 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= eukleides
|
||||
PORTVERSION= 1.5.3
|
||||
PORTREVISION= 4
|
||||
PORTVERSION= 1.5.4
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://www.eukleides.org/files/
|
||||
|
||||
MAINTAINER= ashish@FreeBSD.org
|
||||
COMMENT= A Euclidean geometry drawing language
|
||||
|
||||
LIB_DEPENDS= readline.6:${PORTSDIR}/devel/readline
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libreadline.so:${PORTSDIR}/devel/readline
|
||||
RUN_DEPENDS= pstoedit:${PORTSDIR}/graphics/pstoedit
|
||||
|
||||
USE_TEX= latex
|
||||
USES= bison gettext iconv gmake tar:bzip2
|
||||
|
||||
MAN1= eukleides.1 euktoeps.1 euktopdf.1 euktopst.1 euktotex.1
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.ifndef NOPORTDOCS
|
||||
BUILD_DEPENDS= pdflatex:${PORTSDIR}/print/teTeX-base
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
USE_TEX+= pdftex:build
|
||||
PORTDOCS= de.pdf fr.pdf
|
||||
INFO= eukleides
|
||||
.endif
|
||||
@ -28,34 +32,35 @@ INFO= eukleides
|
||||
PORTEXAMPLES= greenwich.euk sundial.euk vonkoch.euk
|
||||
.endif
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
${GREP} -lR "#!/bin/bash" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
@${GREP} -lR "#!/bin/bash" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|#!/bin/bash|#!/bin/sh|g'
|
||||
${GREP} -lR "ginstall-info" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
@${GREP} -lR "ginstall-info" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|ginstall-info|install-info|g'
|
||||
${GREP} -lR "%%[[:alpha:]]\+%%" ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \
|
||||
-e "s|%%PREFIX%%|${PREFIX}|g" \
|
||||
@${GREP} -lR "%%[[:alpha:]]\+%%" ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \
|
||||
-e "s|%%PREFIX%%|${STAGEDIR}${PREFIX}|g" \
|
||||
-e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
|
||||
-e "s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g" \
|
||||
-e "s|%%DOCSDIR%%|${DOCSDIR}|g"
|
||||
.ifdef NOPORTDOCS
|
||||
${REINPLACE_CMD} -e '/^install:/ s/install_doc//g' \
|
||||
-e "s|%%EXAMPLESDIR%%|${STAGEDIR}${EXAMPLESDIR}|g" \
|
||||
-e "s|%%DOCSDIR%%|${STAGEDIR}${DOCSDIR}|g"
|
||||
@${GREP} -lFR "gcc" ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \
|
||||
-e "s|gcc|${CC}|g"
|
||||
.if defined(${PORT_OPTIONS:MDOCS})
|
||||
@${REINPLACE_CMD} -e '/^install:/ s/install_doc//g' \
|
||||
-e '/^all:/ s/doc//g' ${WRKSRC}/Makefile
|
||||
.endif
|
||||
|
||||
.ifdef NOPORTEXAMPLES
|
||||
${REINPLACE_CMD} -e 's/install_exm$$//g' ${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} -e 's/install_exm$$//g' ${WRKSRC}/Makefile
|
||||
.endif
|
||||
|
||||
pre-install:
|
||||
.ifndef NOPORTEXAMPLES
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
for i in euktoeps euktopdf euktotex; do \
|
||||
${RM} ${PREFIX}/bin/$${i}.bak; \
|
||||
${RM} ${STAGEDIR}${PREFIX}/bin/$${i}.bak; \
|
||||
done
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (eukleides-1.5.3.tar.bz2) = a9c2f08497d3cb48832fb332784fb4f53a0b1e38f98ce44031773873d97ac32c
|
||||
SIZE (eukleides-1.5.3.tar.bz2) = 77439
|
||||
SHA256 (eukleides-1.5.4.tar.bz2) = 18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69
|
||||
SIZE (eukleides-1.5.4.tar.bz2) = 77410
|
||||
|
@ -7,6 +7,11 @@ share/locale/de/LC_MESSAGES/eukleides.mo
|
||||
share/locale/fr/LC_MESSAGES/eukleides.mo
|
||||
share/texmf/tex/latex/eukleides/eukleides.sty
|
||||
share/texmf/tex/latex/eukleides/eukleides.tex
|
||||
man/man1/euktoeps.1.gz
|
||||
man/man1/euktopdf.1.gz
|
||||
man/man1/euktopst.1.gz
|
||||
man/man1/euktotex.1.gz
|
||||
man/man1/eukleides.1.gz
|
||||
@dirrm share/texmf/tex/latex/eukleides
|
||||
@dirrmtry share/texmf/tex/latex
|
||||
@dirrmtry share/texmf/tex
|
||||
|
Loading…
Reference in New Issue
Block a user