blob: 844c0baf5f30f9225509f0bc5706a361796120fd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# New ports collection makefile for: Scheme-to-C
# Date created: 28 Dec 1994
# Whom: jmacd@uclink.berkeley.edu
#
# $FreeBSD$
#
PORTNAME= schemetoc
PORTVERSION= 93.3.15
CATEGORIES= lang
MASTER_SITES= ftp://gatekeeper.dec.com/pub/DEC/Scheme-to-C/
DISTNAME= 15mar93
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
USE_REINPLACE= yes
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:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/scsc/*.sc
@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/scsc/*.sc
.include <bsd.port.mk>
|