pkgsrc/net/coda5_client/Makefile
jlam d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00

28 lines
900 B
Makefile

# $NetBSD: Makefile,v 1.36 2003/01/28 22:03:49 jlam Exp $
PKGNAME= coda-client-${DIST_VERS}
COMMENT= client programs for a replicated high-performance network file system
.include "../../net/coda5_server/Makefile.common"
ALL_TARGET= coda
INSTALL_TARGET= client-install
USE_PKGINSTALL= yes
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} -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"