summaryrefslogtreecommitdiffstats
path: root/lang/Sather/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/Sather/Makefile')
-rw-r--r--lang/Sather/Makefile45
1 files changed, 24 insertions, 21 deletions
diff --git a/lang/Sather/Makefile b/lang/Sather/Makefile
index 4e91df7..5c3911b 100644
--- a/lang/Sather/Makefile
+++ b/lang/Sather/Makefile
@@ -1,38 +1,41 @@
# ex:ts=8
-# New ports collection makefile for: Sather
-# Version required: 1.0.5
-# Date created: Mon Oct 31 22:04:12 PST 1994
-# Whom: hsu
+# Ports collection makefile for: Sather
+# Version required: 1.2.1
+# Date created: Mon Oct 31 22:04:12 PST 1994
+# Whom: hsu
#
# $FreeBSD$
#
-DISTNAME= Sather-1.0.5
-PKGNAME= sather-1.0.5
+DISTNAME= sather-1.2.1
CATEGORIES= lang
-MASTER_SITES= ftp://ftp.icsi.berkeley.edu/pub/sather/ \
- ftp://ftp.sterling.com/programming/languages/sather/ \
- ftp://ftp.uni-muenster.de/pub/languages/sather/ \
- ftp://ftp.nis.co.jp/pub/lang/sather/ \
- ftp://ftp.th-darmstadt.de/pub/programming/languages/sather/ \
- ftp://ftp.sra.co.jp/pub/lang/sather/ \
- ftp://ftp.infomagic.com/pub/mirrors/.mirror14/languages/sather/
+MASTER_SITES= ${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR= sather
MAINTAINER= obrien@FreeBSD.org
-BROKEN_ELF= gcc: ../../System/GC/gc.a: No such file or directory
+BUILD_DEPENDS= ${LOCALBASE}/lib/libgc.a:${PORTSDIR}/devel/boehm-gc
-WRKSRC= ${WRKDIR}/Sather
-ALL_TARGET= testall
-MAN1= cs.1
+USE_GMAKE= yes
+ALL_TARGET= full
+MAN1= sacomp.1
+
+pre-configure:
+ @${PERL} -pi.in \
+ -e 's:%%CC%%:${CC}:g' \
+ 's:%%CFLAGS%%:${CFLAGS}:g' \
+ 's:%%LOCALBASE%%:${LOCALBASE}:g' \
+ 's:%%GMAKE%%:${GMAKE}:g' \
+ ${WRKSRC}/System/Common/CONFIG.proto
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/Compiler/cs ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/Doc/man/man1/cs.1 ${PREFIX}/man/man1
- ${MKDIR} ${PREFIX}/share/doc/sather
+ ${INSTALL_PROGRAM} ${WRKSRC}/Bin/sacomp ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/Doc/man/man1/sacomp.1 ${PREFIX}/man/man1
+ @${MKDIR} ${PREFIX}/share/doc/sather
${INSTALL_DATA} ${WRKSRC}/Doc/License ${PREFIX}/share/doc/sather
.if !defined(NOPORTDOCS)
-.for file in Bugs Changes Contributing FAQ README manual.ps
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sather
+.for file in Bugs Changes Contributing FAQ programmer-manual.ps
${INSTALL_DATA} ${WRKSRC}/Doc/${file} ${PREFIX}/share/doc/sather
.endfor
.endif
OpenPOWER on IntegriCloud