1996-08-08 09:25:56 +00:00
|
|
|
# New ports collection makefile for: cvsup
|
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
|
|
|
#
|
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= cvsup
|
2001-04-28 20:32:15 +00:00
|
|
|
PORTVERSION?= 16.1
|
2001-05-27 00:03:48 +00:00
|
|
|
PORTREVISION?= 1
|
2000-10-04 06:40:08 +00:00
|
|
|
CATEGORIES= net devel
|
2001-04-28 20:32:15 +00:00
|
|
|
MASTER_SITES?= ftp://ftp3.freebsd.org/pub/FreeBSD/development/CVSup/sources/ \
|
|
|
|
ftp://ftp.freebsd.org/pub/FreeBSD/development/CVSup/sources/ \
|
1999-12-10 18:40:39 +00:00
|
|
|
ftp://ftp.cs.tu-berlin.de/pub/FreeBSD/development/CVSup/sources/
|
1996-08-08 09:25:56 +00:00
|
|
|
|
|
|
|
MAINTAINER= jdp@FreeBSD.org
|
|
|
|
|
2001-05-26 20:37:10 +00:00
|
|
|
.ifdef PACKAGE_BUILDING
|
|
|
|
STATIC= yes
|
|
|
|
.endif
|
|
|
|
|
2000-04-17 00:19:02 +00:00
|
|
|
.ifdef WITHOUT_X11
|
2000-02-13 23:31:33 +00:00
|
|
|
M3FLAGS+= -DNOGUI
|
|
|
|
BUILD_DEPENDS= ${L1}libm3tcp${L2}:${PORTSDIR}/lang/pm3-net
|
2001-05-26 20:37:10 +00:00
|
|
|
.ifndef STATIC
|
2000-02-13 23:31:33 +00:00
|
|
|
RUN_DEPENDS= ${L1}libm3tcp${L2}:${PORTSDIR}/lang/pm3-net
|
2001-05-26 20:37:10 +00:00
|
|
|
.endif
|
2000-02-13 23:31:33 +00:00
|
|
|
.else
|
|
|
|
BUILD_DEPENDS= ${L1}libm3formsvbt${L2}:${PORTSDIR}/lang/pm3-forms
|
2001-05-26 20:37:10 +00:00
|
|
|
.ifndef STATIC
|
2000-02-13 23:31:33 +00:00
|
|
|
RUN_DEPENDS= ${L1}libm3formsvbt${L2}:${PORTSDIR}/lang/pm3-forms
|
|
|
|
.endif
|
2001-05-26 20:37:10 +00:00
|
|
|
.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
|
|
|
|
|
2001-05-26 20:37:10 +00:00
|
|
|
.ifdef STATIC
|
|
|
|
M3FLAGS+= -DSTATIC
|
|
|
|
.endif
|
2000-02-13 23:31:33 +00:00
|
|
|
|
|
|
|
.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
|
2000-04-17 00:19:02 +00:00
|
|
|
.ifndef WITHOUT_X11
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO_MSG} -n "To build this port without X11 (and without the GUI),"
|
2000-04-17 00:19:02 +00:00
|
|
|
@${ECHO_MSG} " define \"WITHOUT_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>
|