2019-08-11 15:17:48 +02:00
|
|
|
# $NetBSD: Makefile,v 1.30 2019/08/11 13:22:07 wiz Exp $
|
2007-04-12 20:13:05 +02:00
|
|
|
#
|
|
|
|
|
2011-03-11 21:27:42 +01:00
|
|
|
DISTNAME= coda-6.9.5
|
2019-08-11 15:17:48 +02:00
|
|
|
PKGREVISION= 15
|
2007-04-12 20:13:05 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://www.coda.cs.cmu.edu/pub/coda/src/
|
|
|
|
|
|
|
|
MAINTAINER= gdt@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.coda.cs.cmu.edu/
|
|
|
|
COMMENT= Coda distributed fileystem
|
|
|
|
|
2012-03-05 12:27:52 +01:00
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
|
2015-01-27 23:03:16 +01:00
|
|
|
# This package requires a coda kernel module, which is only known to
|
|
|
|
# work on NetBSD and Linux. It is known not to work on DragonFly (has
|
2015-01-28 14:11:22 +01:00
|
|
|
# never existed), FreeBSD (removed) and Solaris (outdated).
|
2015-01-27 23:03:16 +01:00
|
|
|
ONLY_FOR_PLATFORM+= NetBSD-*-* Linux-*-*
|
2008-06-12 04:14:13 +02:00
|
|
|
|
2015-01-27 16:21:52 +01:00
|
|
|
PKG_SYSCONFSUBDIR= coda
|
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/coda
|
|
|
|
CONF_FILES+= ${EGDIR}/server.conf ${PKG_SYSCONFDIR}/server.conf
|
|
|
|
CONF_FILES+= ${EGDIR}/venus.conf ${PKG_SYSCONFDIR}/venus.conf
|
|
|
|
CONF_FILES+= ${EGDIR}/realms ${PKG_SYSCONFDIR}/realms
|
|
|
|
|
|
|
|
INSTALLATION_DIRS+= ${EGDIR}
|
|
|
|
|
|
|
|
USE_TOOLS+= gmake pkg-config perl perl:run
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
REPLACE_PERL= coda-src/scripts/tape.pl coda-src/scripts/volmunge
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/coda-src/vice/server.conf.ex \
|
|
|
|
${DESTDIR}${EGDIR}/server.conf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/coda-src/venus/venus.conf.ex \
|
|
|
|
${DESTDIR}${EGDIR}/venus.conf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/coda-src/venus/realms \
|
|
|
|
${DESTDIR}${EGDIR}/realms
|
2007-04-12 20:13:05 +02:00
|
|
|
|
|
|
|
.include "../../devel/lwp/buildlink3.mk"
|
|
|
|
.include "../../devel/rpc2/buildlink3.mk"
|
|
|
|
.include "../../devel/rvm/buildlink3.mk"
|
2013-07-15 04:02:17 +02:00
|
|
|
.include "../../mk/readline.buildlink3.mk"
|
2008-03-06 17:15:18 +01:00
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
2011-03-11 21:27:42 +01:00
|
|
|
.include "../../lang/python/application.mk"
|
2007-04-12 20:13:05 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|