1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/lang/schemetoc/Makefile

37 lines
920 B
Makefile
Raw Normal View History

# New ports collection makefile for: Scheme-to-C
# Date created: 28 Dec 1994
# Whom: jmacd@uclink.berkeley.edu
#
1999-08-25 06:35:40 +00:00
# $FreeBSD$
#
PORTNAME= schemetoc
PORTVERSION= 93.3.15
CATEGORIES= lang
1995-04-15 05:44:50 +00:00
MASTER_SITES= ftp://gatekeeper.dec.com/pub/DEC/Scheme-to-C/
DISTNAME= 15mar93
EXTRACT_SUFX= .tar.Z
1995-04-15 05:44:50 +00:00
MAINTAINER= jmacd@FreeBSD.org
1998-12-22 05:37:22 +00:00
USE_XLIB= yes
INSTALLS_SHLIB= yes
NO_WRKSUBDIR= yes
MAN1= scc.1 sci.1
post-extract:
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
@${CP} ${FILESDIR}/README.FreeBSD ${WRKSRC}
@${MV} ${WRKDIR}/scsc/main.c ${WRKSRC}/scsc/main.c.orig
@${CP} ${FILESDIR}/main.c ${WRKSRC}/scsc/main.c
@${MKDIR} ${WRKDIR}/ports/FREEBSD
.for file in makefile-head options-server.h options.h x86.s
@${CP} ${FILESDIR}/${file} ${WRKSRC}/ports/FREEBSD
.endfor
post-patch:
@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/scsc/*.sc
@${PERL} -pi -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/scsc/*.sc
.include <bsd.port.mk>