blob: 45aa81a6960833ad6cdb96bca172e045a1a0951f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.21 2003/07/21 17:10:30 martti Exp $
#
DISTNAME= coda-4.6.6
PKGNAME= coda-client-4.6.6.1
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.infonoc.ne.jp/pub/coda/src/old/ \
ftp://ftp.rsu.ru/pub/unix/FileSystems/coda/
EXTRACT_SUFX= .tgz
MAINTAINER= rvb@cs.cmu.edu
HOMEPAGE= http://www.coda.cs.cmu.edu/
COMMENT= Client programs for a replicated high-performance network file system
DEPENDS+= gdbm>=1.8.3:../../databases/gdbm
DEPENDS+= readline>=4.0:../../devel/readline
# Requires "lwp" plus "filesystem CODA" to operate. Should build on
# any NetBSD-*-m68k, though.
ONLY_FOR_PLATFORM= NetBSD-1.[45]*-i386 NetBSD-1.[45]*-m68k
ALL_TARGET= coda
INSTALL_TARGET= client-install
USE_PERL5= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
FIX_RPATH+= GDBM_LDADD
GDBM_LDADD= -Wl,${RPATH_FLAG}${PREFIX}/lib -L${PREFIX}/lib -lgdbm
pre-configure:
cd ${WRKSRC} && \
for F in coda-src/advice/Makefile.in; do \
${SED} -e "s_-lgdbm_${GDBM_LDADD}_" \
< $$F > $$F.patched && \
${MV} $$F.patched $$F; \
done
.include "../../mk/bsd.pkg.mk"
|