1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/net/cvsup/Makefile
Niclas Zeising 39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00

73 lines
1.6 KiB
Makefile

# Created by: asami
# $FreeBSD$
PORTNAME= cvsup
PORTVERSION= 16.1h
PORTREVISION= 7
CATEGORIES= net devel
MASTER_SITES= ${MASTER_SITE_FREEBSD_ORG}
MASTER_SITE_SUBDIR=development/CVSup/snapshots
DISTNAME= cvsup-snap-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= File distribution system optimized for CVS
ONLY_FOR_ARCHS= amd64 i386 sparc64
OPTIONS_DEFINE= X11 STATIC
OPTIONS_DEFAULT= X11
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSTATIC}
WITH_STATIC= yes
M3FLAGS+= -DSTATIC
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
TARGET= FBSD_AMD64
AMD64_PATCHES= p-amd64-aa p-amd64-zlib
.elif ${ARCH} == "i386"
TARGET= FreeBSD4
.elif ${ARCH} == "sparc64"
TARGET= FBSD_SPARC64
.endif
.if ! ${PORT_OPTIONS:MX11}
M3FLAGS+= -DNOGUI
BUILD_DEPENDS= ${PREFIX}/lib/m3/pkg/tcp/${TARGET}/libm3tcp.a:${PORTSDIR}/lang/ezm3
PKGNAMESUFFIX= -without-gui
COMMENT+= (non-GUI version)
DESCR= ${PKGDIR}/pkg-descr.nogui
CONFLICTS= cvsup-[0-9]*
.else
.if ${ARCH} == "amd64"
IGNORE= does not support GUI on amd64, please disable X11 option or use net/cvsup-without-gui instead
.else
USE_XORG+= oldx dmx pixman xaw
COMMENT+= (GUI version)
BUILD_DEPENDS= ${PREFIX}/lib/m3/pkg/formsvbt/${TARGET}/libm3formsvbt.a:${PORTSDIR}/lang/ezm3
CONFLICTS= cvsup-without-gui-[0-9]*
.endif
.endif
MAKE_ARGS+= PREFIX=${PREFIX} M3FLAGS="${M3FLAGS}"
MAN1= cvpasswd.1 cvsup.1
MAN8= cvsupd.8
pre-patch:
.if ${ARCH} == "amd64"
.for f in ${AMD64_PATCHES}
@cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/${f}
.endfor
.endif
post-install:
@${MKDIR} ${PREFIX}/share/cvsup
@${INSTALL_DATA} ${WRKSRC}/License ${PREFIX}/share/cvsup/License
.include <bsd.port.post.mk>