blob: ed5b6a34c571dee71be8b0ee4960aae78e38455f (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
# New ports collection makefile for: cvsup
# Date created: 7 August 1996
# Whom: asami
#
# $FreeBSD$
#
PORTNAME= cvsup
PORTVERSION?= 16.1
CATEGORIES= net devel
MASTER_SITES?= ftp://ftp3.freebsd.org/pub/FreeBSD/development/CVSup/sources/ \
ftp://ftp.freebsd.org/pub/FreeBSD/development/CVSup/sources/ \
ftp://ftp.cs.tu-berlin.de/pub/FreeBSD/development/CVSup/sources/
MAINTAINER= jdp@FreeBSD.org
.ifdef WITHOUT_X11
M3FLAGS+= -DNOGUI
BUILD_DEPENDS= ${L1}libm3tcp${L2}:${PORTSDIR}/lang/pm3-net
RUN_DEPENDS= ${L1}libm3tcp${L2}:${PORTSDIR}/lang/pm3-net
.else
BUILD_DEPENDS= ${L1}libm3formsvbt${L2}:${PORTSDIR}/lang/pm3-forms
RUN_DEPENDS= ${L1}libm3formsvbt${L2}:${PORTSDIR}/lang/pm3-forms
.endif
MAKE_ARGS+= PREFIX=${PREFIX} M3FLAGS="${M3FLAGS}"
MAN1= cvpasswd.1 cvsup.1
MAN8= cvsupd.8
L1= ${PREFIX}/lib/m3/${TARGET}/
SOVERSION= 7
# To link the programs statically:
#M3FLAGS+= -DSTATIC
.include <bsd.port.pre.mk>
.if ${PORTOBJFORMAT} == "aout"
L2= .so.${SOVERSION}.0
TARGET= FreeBSD2
TARGETDIR= freebsd-2
WORDSIZE= 32
.elif ${ARCH} == "i386"
L2= .so.${SOVERSION}
.if ${OSVERSION} < 400011
TARGET= FreeBSD3
TARGETDIR= freebsd-3
.else
TARGET= FreeBSD4
TARGETDIR= freebsd-4
.endif
WORDSIZE= 32
.elif ${ARCH} == "alpha"
.if ${OSVERSION} < 400011
BROKEN= Not supported on older versions of FreeBSD/Alpha
.endif
CFLAGS+= -mieee
L2= .so.${SOVERSION}
TARGET= FBSD_ALPHA
TARGETDIR= fbsd-alpha
WORDSIZE= 64
.endif
pre-fetch:
.if empty(TARGET)
@${ECHO_MSG} "Cannot determine M3 target for this architecture"
@${FALSE}
.endif
.ifndef WITHOUT_X11
@${ECHO_MSG} -n "To build this port without X11 (and without the GUI),"
@${ECHO_MSG} " define \"WITHOUT_X11\"."
.endif
@${TRUE}
.include <bsd.port.post.mk>
|