1996-08-08 09:25:56 +00:00
|
|
|
# New ports collection makefile for: cvsup
|
1999-12-10 18:40:39 +00:00
|
|
|
# Version required: 16.1
|
1996-11-01 04:14:04 +00:00
|
|
|
# Date created: 7 August 1996
|
1996-08-08 09:25:56 +00:00
|
|
|
# Whom: asami
|
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1996-08-08 09:25:56 +00:00
|
|
|
#
|
|
|
|
|
1999-12-10 18:40:39 +00:00
|
|
|
DISTNAME= cvsup-16.1
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= devel net
|
1999-12-10 18:40:39 +00:00
|
|
|
MASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/development/CVSup/sources/ \
|
|
|
|
ftp://ftp.cs.tu-berlin.de/pub/FreeBSD/development/CVSup/sources/
|
1996-08-08 09:25:56 +00:00
|
|
|
|
|
|
|
MAINTAINER= jdp@FreeBSD.org
|
|
|
|
|
2000-02-13 23:31:33 +00:00
|
|
|
.ifdef NO_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
|
1996-08-08 09:25:56 +00:00
|
|
|
|
2000-02-13 23:31:33 +00:00
|
|
|
MAKE_ARGS+= PREFIX=${PREFIX} M3FLAGS="${M3FLAGS}"
|
1999-02-10 02:48:01 +00:00
|
|
|
MAN1= cvpasswd.1 cvsup.1
|
1998-03-24 04:20:27 +00:00
|
|
|
MAN8= cvsupd.8
|
|
|
|
|
2000-02-13 23:31:33 +00:00
|
|
|
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
|
1999-01-28 05:39:19 +00:00
|
|
|
.else
|
2000-02-13 23:31:33 +00:00
|
|
|
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
|
|
|
|
|
1999-01-28 05:39:19 +00:00
|
|
|
pre-fetch:
|
2000-02-13 23:31:33 +00:00
|
|
|
.if empty(TARGET)
|
|
|
|
@${ECHO_MSG} "Cannot determine M3 target for this architecture"
|
|
|
|
@${FALSE}
|
|
|
|
.endif
|
|
|
|
.ifndef NO_X11
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO_MSG} -n "To build this port without X11 (and without the GUI),"
|
|
|
|
@${ECHO_MSG} " define \"NO_X11\"."
|
1998-06-06 20:33:21 +00:00
|
|
|
.endif
|
2000-02-13 23:31:33 +00:00
|
|
|
@${TRUE}
|
1998-06-06 20:33:21 +00:00
|
|
|
|
2000-02-13 23:31:33 +00:00
|
|
|
.include <bsd.port.post.mk>
|