6e02d7ee41
Suggested by Roland Illig, ok'd by various.
31 lines
992 B
Makefile
31 lines
992 B
Makefile
# $NetBSD: Makefile,v 1.41 2004/12/03 15:15:05 wiz Exp $
|
|
|
|
PKGNAME= coda-client-${DIST_VERS}
|
|
COMMENT= Client programs for a replicated high-performance network file system
|
|
|
|
.include "../../net/coda5_server/Makefile.common"
|
|
|
|
BUILD_TARGET= coda
|
|
INSTALL_TARGET= client-install
|
|
|
|
USE_PKGINSTALL= yes
|
|
DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
|
|
INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
|
|
|
|
CONF_FILES+= ${EGDIR}/sidekick.intr.ex ${PKG_SYSCONFDIR}/sidekick.intr
|
|
CONF_FILES+= ${EGDIR}/venus.conf.ex ${PKG_SYSCONFDIR}/venus.conf
|
|
|
|
post-install:
|
|
cd ${PREFIX} && ${PAX} -O -zr \
|
|
-s "/usr\/\(man\/man.\/\)au.8/\1venus-au.8/" \
|
|
-s "/usr\/\(man\/man.\/\)replay.8/\1coda_replay.8/" \
|
|
-s "/usr\///" \
|
|
-f ${_DISTDIR}/${CODADOC_DISTFILE} \
|
|
`${GREP} "^man/" ${PLIST_SRC} | \
|
|
${GREP} -v "man/man8/au.8" | \
|
|
${SED} -e "s|^|usr/|" \
|
|
-e "s|coda_replay\.8|replay.8|" \
|
|
-e "s|venus-au\.8|au.8|"`
|
|
${LN} -sf venus-au.8 ${PREFIX}/man/man8/au.8
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|