mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
3818bebb3c
Approved by: portmgr (self)
41 lines
890 B
Makefile
41 lines
890 B
Makefile
# New ports collection makefile for: Oberon2C
|
|
# Date created: December 3, 1997
|
|
# Whom: Oliver Breuninger <ob@seicom.NET>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= o2c
|
|
PORTVERSION= 1.16
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ftp://ftp.uni-kl.de/pub/informatik/software/ \
|
|
http://www.breuninger.org/files/distfiles/
|
|
|
|
MAINTAINER= ob@breuninger.org
|
|
COMMENT= Oberon-2 compiler
|
|
|
|
# does not support 64-bit platforms
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
USE_REINPLACE= yes
|
|
MAKE_ENV= MAKEOBJDIR=.
|
|
MAN1= o2b.1 o2c.1 o2ef.1 o2whereis.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 502126
|
|
BROKEN= "Does not compile on FreeBSD >= 5.x"
|
|
.endif
|
|
|
|
post-extract:
|
|
@${CP} ${FILESDIR}/o2 ${WRKSRC}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
"s|\@PREFIX\@|${PREFIX}|g;" ${WRKSRC}/system/o2c.red.template
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/system/o2c.red.template ${PREFIX}/lib/o2c-1.16
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|