b2677a2cb0
USE_PKGINSTALL is "YES". bsd.pkg.install.mk will no longer automatically pick up a INSTALL/DEINSTALL script in the package directory and assume that you want it for the corresponding *_EXTRA_TMPL variable.
31 lines
991 B
Makefile
31 lines
991 B
Makefile
# $NetBSD: Makefile,v 1.40 2003/08/30 22:51:24 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
|
|
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"
|