blob: 845759c22080084ad36561483af22e20f3ab97c7 (
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
|
# $NetBSD: Makefile,v 1.31 2001/06/19 03:47:31 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
USE_BUILDLINK_ONLY= yes
.include "../../devel/lwp/buildlink.mk"
.include "../../devel/readline/buildlink.mk"
.include "../../devel/rpc2/buildlink.mk"
.include "../../devel/rvm/buildlink.mk"
DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
INSTALL_FILE= ${WRKDIR}/INSTALL
INSTALL_SUBST= CAT=${CAT:Q}
INSTALL_SUBST+= LN=${LN:Q}
INSTALL_SUBST+= RM=${RM:Q}
INSTALL_SUBST+= RMDIR=${RMDIR:Q}
INSTALL_SUBST+= TRUE=${TRUE:Q}
INSTALL_SUBST_SED= ${INSTALL_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/}
pre-install:
${SED} ${INSTALL_SUBST_SED} ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
${SED} ${INSTALL_SUBST_SED} ${PKGDIR}/INSTALL > ${INSTALL_FILE}
post-install:
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
.include "../../mk/bsd.pkg.mk"
|