1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/net/coda6_server/Makefile
Baptiste Daroussin 9346b215f0 new devel/pkgconf added to replace devel/pkg-config. new version of pkg-config
are no more self hosting so we are stuck with 0.25 version while pkgconf provide
the same set of features as 0.27 and a compatible frontend. A symlink to
pkg-config has been added for convenience and compatibility

This also introduces a new macro to use pkgconf in your ports:
USE_PKGCONFIG

it can take the following arguments:
 - yes (meaning build only dep)
 - build (meaning build only dep)
 - run (meaning run only dep)
 - both (meaning run and build dep)

From now USE_GNOME= pkgconfig is deprecated in favour of USE_PKGCONFIG
The old gnome macro has been modified to use pkgconf but still the sameway: run
and build dep to avoid large breakage.

While here fix some ports relying on pkg-config but not specifying it, fix some
ports broken because testing wrong .pc files, and fix ports using pkg-config
--version to determine pkg-config version instead of
pkg-config --modversion pkg-config like recommanded by pkg-config

With Hat:	portmgr
Exp-runs by:	bapt (pointhat-west), beat (pointyhat)
2012-07-26 05:40:22 +00:00

94 lines
1.9 KiB
Makefile

# New ports collection makefile for: coda-server-6
# Date created: 9 september 2003
# Whom: Tim Robbins
# $FreeBSD$
PORTNAME= coda
PORTVERSION= 6.9.4
PORTREVISION?= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.coda.cs.cmu.edu/pub/coda/src/ \
ftp://ftp.planetmirror.com/pub/coda/src/ \
ftp://ftp.nctu.edu.tw/mirror/Coda/src/ \
ftp://ftp.wu-wien.ac.at/pub/systems/coda/src/
PKGNAMESUFFIX= -${CODA_SUITE}
MAINTAINER= clsung@FreeBSD.org
COMMENT= Server programs for a replicated high-performance network file system
LIB_DEPENDS= lwp.2:${PORTSDIR}/devel/lwp \
rpc2.9:${PORTSDIR}/devel/rpc2 \
rvmlwp.3:${PORTSDIR}/devel/rvm
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_PKGCONFIG= yes
CONFIGURE_ARGS+= --enable-${CODA_SUITE}
CODA_SUITE?= server
.if ${CODA_SUITE} == server
CONFLICTS= openafs-[0-9]*
MAN5= backuplogs.5 \
dumpfile.5 \
dumplist.5 \
maxgroupid.5 \
passwd.coda.5 \
servers.5 \
vicetab.5 \
volumelist.5 \
vrdb.5
MAN8= auth2.8 \
backup.8 \
bldvldb.sh.8 \
codasrv.8 \
createvol_rep.8 \
initpw.8 \
merge.8 \
norton.8 \
pdbtool.8 \
purgevol_rep.8 \
readdump.8 \
startserver.8 \
updateclnt.8 \
updatesrv.8 \
vice-setup.8 \
volutil.8
.else
MAN1= au.1 \
cfs.1 \
clog.1 \
cmon.1 \
coda_replay.1 \
cpasswd.1 \
ctokens.1 \
cunlog.1 \
hoard.1 \
mkcodabf.1 \
repair.1 \
spy.1
MAN8= venus-setup.8 \
venus.8 \
volmunge.8 \
vutil.8
.endif
.include <bsd.port.pre.mk>
.if ${CODA_SUITE} == client
# this needs testing with the new version (6.1.1)
#IGNORE= makes a kernel panic on this version of FreeBSD
pre-everything::
@${ECHO_CMD} ""
@${ECHO_CMD} "WARNING:"
@${ECHO_CMD} "This version ${PORTVERSION} of the coda client has not been tested at all under FreeBSD."
@${ECHO_CMD} "Previous version 6.0.7 was known to cause a kernel panic."
@${ECHO_CMD} "If you make some tests, please send the results to ports@FreeBSD.org"
@${ECHO_CMD} ""
.endif
.include <bsd.port.post.mk>