1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/lang/snobol4/Makefile
Johan van Selst f40b99ab62 - Update to csnobol4 version 2.0; this is a major upgrade
http://www.snobol4.org/csnobol4/curr/CHANGES
- Added some patches to work around broken build dependencies
2015-01-24 16:43:54 +00:00

34 lines
955 B
Makefile

# Created by: Wes Peters <wes@softweyr.com>
# $FreeBSD$
PORTNAME= snobol4
PORTVERSION= 2.0
CATEGORIES= lang
MASTER_SITES= ftp://ftp.ultimate.com/snobol/
MAINTAINER= johans@FreeBSD.org
COMMENT= Port of Macro SNOBOL4, supports full SNOBOL4 plus SPITBOL
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
--snolibdir=${PREFIX}/lib/${PORTNAME}
CONFIGURE_ENV+= DL_EXT=".so"
USES= gmake
PLIST_SUB+= VERSION=${PORTVERSION}
ALL_TARGET= xsnobol4
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= *
post-patch:
@${REINPLACE_CMD} 's:[^=]*\.tmp$$:${WRKSRC}/&:' ${WRKSRC}/configure
@${REINPLACE_CMD} '/grep/s/$$/| egrep -v "built-in|command line"/' \
${WRKSRC}/cc-M
@${REINPLACE_CMD} 's:../snobol4:../xsnobol4:' \
${WRKSRC}/doc/Makefile ${WRKSRC}/modules/*/Makefile
@${REINPLACE_CMD} -e 's:<BINDIR>:${PREFIX}/bin:' \
-e 's:<SNOLIB_LIB>:${PREFIX}/lib/${PORTNAME}:' \
${WRKSRC}/snopea.in ${WRKSRC}/sdb.sh
.include <bsd.port.mk>