summaryrefslogtreecommitdiffstats
path: root/lang/Sather/Makefile
blob: 5c3911b15f315dcb30af74789fbab450d31075ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# ex:ts=8
# 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.2.1
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=	sather

MAINTAINER=	obrien@FreeBSD.org

BUILD_DEPENDS=	${LOCALBASE}/lib/libgc.a:${PORTSDIR}/devel/boehm-gc

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}/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)
	${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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud