49 lines
1.5 KiB
Makefile
49 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.33 2021/05/24 19:53:15 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= coda-6.9.5
|
|
PKGREVISION= 18
|
|
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
|
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
# 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
|
|
# never existed), FreeBSD (removed) and Solaris (outdated).
|
|
ONLY_FOR_PLATFORM+= NetBSD-*-* Linux-*-*
|
|
|
|
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
|
|
|
|
.include "../../devel/lwp/buildlink3.mk"
|
|
.include "../../devel/rpc2/buildlink3.mk"
|
|
.include "../../devel/rvm/buildlink3.mk"
|
|
.include "../../mk/readline.buildlink3.mk"
|
|
.include "../../mk/curses.buildlink3.mk"
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|