freebsd-ports/math/jacal/Makefile
Sunpoet Po-Chuan Hsieh 2a8826c2a1 - Update to 1c3
- Add LICENSE
- Support STAGEDIR
- While I'm here, pet stage-qa: fix STAGEDIR-prefix

Changes:	http://cvs.savannah.gnu.org/viewvc/*checkout*/jacal/jacal/ChangeLog
PR:		188157
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)
2014-04-06 05:51:57 +00:00

33 lines
714 B
Makefile

# Created by: Mark R V Murray <markm@FreeBSD.org>
# $FreeBSD$
PORTNAME= jacal
PORTVERSION= 1c3
CATEGORIES= math
MASTER_SITES= http://groups.csail.mit.edu/mac/ftpdir/scm/
MAINTAINER= 5u623l20@gmail.com
COMMENT= Symbolic mathematics program written in Scheme
LICENSE= GPLv3
RUN_DEPENDS= scm:${PORTSDIR}/lang/scm \
${LOCALBASE}/share/slib/require.scm:${PORTSDIR}/lang/slib
WRKSRC= ${WRKDIR}/jacal
USES= gmake perl5 zip
NO_BUILD= yes
INFO= jacal
do-configure:
cd ${WRKSRC}; \
${FIND} . -type f -exec ${PERL} -spi -e 's|%%PREFIX%%|${PREFIX}|' {} ';'
cd ${WRKSRC}; \
./configure
post-install:
${SED} -i '' -e 's|${STAGEDIR}${PREFIX}|${PREFIX}|g' ${STAGEDIR}${PREFIX}/bin/jacal
.include <bsd.port.mk>