diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 2000-03-01 09:57:06 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 2000-03-01 09:57:06 +0000 |
commit | 2b54222fb3fd1ea5953bd9cbcc0d6d1fd1a32aae (patch) | |
tree | 12eba4b78e3b87550e718b44da0860acf9709d7d /lang/schemetoc/Makefile | |
parent | d220a7403ad576cfce3e5c769b71ba5d3e5d698b (diff) |
Notes
Diffstat (limited to 'lang/schemetoc/Makefile')
-rw-r--r-- | lang/schemetoc/Makefile | 33 |
1 files changed, 23 insertions, 10 deletions
diff --git a/lang/schemetoc/Makefile b/lang/schemetoc/Makefile index 04053041b533..6467042fd854 100644 --- a/lang/schemetoc/Makefile +++ b/lang/schemetoc/Makefile @@ -1,25 +1,38 @@ -# New ports collection makefile for: Scheme-to-C -# Version required: 15mar93 -# Date created: 28 Dec 1994 -# Whom: jmacd@uclink.berkeley.edu +# New ports collection makefile for: Scheme-to-C +# Version required: 15mar93 +# Date created: 28 Dec 1994 +# Whom: jmacd@uclink.berkeley.edu # # $FreeBSD$ # -DISTNAME= schemetoc-93.3.15 -PKGNAME= schemetoc-93.3.15 +DISTNAME= 15mar93 +PKGNAME= schemetoc-93.3.15 CATEGORIES= lang MASTER_SITES= ftp://gatekeeper.dec.com/pub/DEC/Scheme-to-C/ -DISTFILES= 15mar93.tar.Z +EXTRACT_SUFX= .tar.Z MAINTAINER= jmacd@FreeBSD.org -BROKEN_ELF= yes - USE_XLIB= 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 post-install: - ${LDCONFIG} -m ${PREFIX}/lib + ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib .include <bsd.port.mk> |