2000-02-13 03:25:05 +00:00
|
|
|
# ex:ts=8
|
2000-02-13 19:55:08 +00:00
|
|
|
# Ports collection makefile for: Sather
|
|
|
|
# Date created: Mon Oct 31 22:04:12 PST 1994
|
|
|
|
# Whom: hsu
|
1994-11-01 06:08:02 +00:00
|
|
|
#
|
1999-08-25 06:35:40 +00:00
|
|
|
# $FreeBSD$
|
1994-11-01 06:08:02 +00:00
|
|
|
#
|
|
|
|
|
2000-04-12 06:21:15 +00:00
|
|
|
PORTNAME= sather
|
|
|
|
PORTVERSION= 1.2.1
|
1996-11-12 02:19:40 +00:00
|
|
|
CATEGORIES= lang
|
2000-02-13 19:55:08 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
|
|
MASTER_SITE_SUBDIR= sather
|
1995-04-15 05:44:50 +00:00
|
|
|
|
1996-11-25 03:49:08 +00:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
1996-11-12 02:19:40 +00:00
|
|
|
|
2000-02-13 19:55:08 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libgc.a:${PORTSDIR}/devel/boehm-gc
|
1998-10-13 23:13:40 +00:00
|
|
|
|
2000-02-13 19:55:08 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
ALL_TARGET= full
|
|
|
|
MAN1= sacomp.1
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@${PERL} -pi.in \
|
2000-02-13 20:25:00 +00:00
|
|
|
-e "s:%%CC%%:${CC}:g ;" \
|
|
|
|
-e "s:%%CFLAGS%%:${CFLAGS}:g ;" \
|
|
|
|
-e "s:%%LOCALBASE%%:${LOCALBASE}:g ;" \
|
|
|
|
-e "s:%%GMAKE%%:${GMAKE}:g ;" \
|
2000-02-13 19:55:08 +00:00
|
|
|
${WRKSRC}/System/Common/CONFIG.proto
|
1994-11-01 06:08:02 +00:00
|
|
|
|
1995-04-24 11:29:30 +00:00
|
|
|
do-install:
|
2000-02-13 19:55:08 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Bin/sacomp ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/Doc/man/man1/sacomp.1 ${PREFIX}/man/man1
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/sather
|
1996-11-12 02:19:40 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/Doc/License ${PREFIX}/share/doc/sather
|
1996-03-07 13:00:53 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-02-13 19:55:08 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sather
|
|
|
|
.for file in Bugs Changes Contributing FAQ programmer-manual.ps
|
1996-11-12 02:19:40 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/Doc/${file} ${PREFIX}/share/doc/sather
|
1996-03-07 13:00:53 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
1994-11-01 06:08:02 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|