summaryrefslogtreecommitdiff
path: root/net/cvsup/Makefile
blob: 66a8103c91c329d1af3421ae35c8caa3643e450b (plain) (blame)
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
# New ports collection makefile for:	cvsup
# Version required:	15.4.2
# Date created:		7 August 1996
# Whom:			asami
#
# $Id: Makefile,v 1.27 1998/09/18 01:01:55 jdp Exp $
#

DISTNAME=	cvsup-15.4.2
CATEGORIES=	devel net
MASTER_SITES=	ftp://ftp.freebsd.org/pub/FreeBSD/CVSup/ \
		ftp://ftp.cs.tu-berlin.de/pub/FreeBSD/CVSup/ \
		ftp://ftp.polstra.com/pub/FreeBSD/CVSup/

MAINTAINER=	jdp@FreeBSD.org

BROKEN_ELF=	depends on mulda-3

BUILD_DEPENDS=	m3build-6:${PORTSDIR}/lang/modula-3
LIB_DEPENDS=	m3.6:${PORTSDIR}/lang/modula-3-lib

MAN1=		cvsup.1
MAN8=		cvsupd.8

# Support building on systems with or without X11 installed.  The
# modula-3-lib port only supports X11R6 in the standard location,
# so we don't bother using the X11BASE macro.  It's not defined yet
# at this point in the Makefile anyway.
.if !exists(/usr/X11R6/lib/libX11.a)
M3FLAGS+=	-DNOGUI
.endif

# Build options.  Uncomment the desired ones.
# To build the client without GUI support (automatic if X11R6 is not found):
#M3FLAGS+=	-DNOGUI
# To link the programs statically:
#M3FLAGS+=	-DSTATIC
# To link just the Modula-3 libraries statically:
#M3FLAGS+=	-DM3STATIC

MAKE_ENV+=	M3FLAGS="${M3FLAGS}"

.include <bsd.port.mk>