pkgsrc/net/coda5_client/Makefile
2001-06-19 03:47:31 +00:00

47 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.32 2001/06/19 03:48:01 jlam Exp $
#
DISTNAME= coda-5.3.13
PKGNAME= coda-client-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= client programs for a replicated high-performance network file system
# Requires "lwp" plus "filesystem CODA" to operate. Should build on
# any NetBSD-*-m68k, though.
ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-m68k NetBSD-*-sparc* NetBSD-*-arm32
ALL_TARGET= coda
INSTALL_TARGET= client-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"