blob: 36e4202a394e01996307c0e1a21c7a22f201202b (
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
42
43
44
45
46
47
48
49
50
|
# $NetBSD: Makefile,v 1.29 2001/06/10 00:08:46 jlam Exp $
#
DISTNAME= coda-5.3.13
PKGNAME= coda-server-5.3.13
CATEGORIES= net
MASTER_SITES= ftp://ftp.coda.cs.cmu.edu/pub/coda/src/
MAINTAINER= phil@cs.wwu.edu
HOMEPAGE= http://www.coda.cs.cmu.edu/
COMMENT= server programs for a replicated high-performance network file system
# Only enable platforms that can build "lwp".
ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-m68k NetBSD-*-sparc
ALL_TARGET= coda
INSTALL_TARGET= server-install
USE_PERL5= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
.include "../../devel/lwp/buildlink.mk"
.include "../../devel/readline/buildlink.mk"
.include "../../devel/rpc2/buildlink.mk"
.include "../../devel/rvm/buildlink.mk"
CFLAGS+= -I${BUILDLINK_INCDIR}
CXXFLAGS+= -I${BUILDLINK_INCDIR}
LDFLAGS+= -L${BUILDLINK_LIBDIR}
DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
INSTALL_FILE= ${WRKDIR}/INSTALL
INSTALL_SUBST= CAT=${CAT}
INSTALL_SUBST+= LN=${LN}
INSTALL_SUBST+= RM=${RM}
INSTALL_SUBST+= RMDIR=${RMDIR}
INSTALL_SUBST+= TRUE=${TRUE}
pre-install:
${SED} ${INSTALL_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/} \
${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
${SED} ${INSTALL_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/} \
${PKGDIR}/INSTALL > ${INSTALL_FILE}
post-install:
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
.include "../../mk/bsd.pkg.mk"
|