# Created by: Wes Peters # $FreeBSD: head/lang/snobol4/Makefile 377801 2015-01-24 16:43:54Z johans $ 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::${PREFIX}/bin:' \ -e 's::${PREFIX}/lib/${PORTNAME}:' \ ${WRKSRC}/snopea.in ${WRKSRC}/sdb.sh .include