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