summaryrefslogtreecommitdiff
path: root/net/coda5_server/Makefile
blob: efc338dd17a69d22fea9631520593eb8676c5105 (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
# $NetBSD: Makefile,v 1.41 2004/12/03 15:15:05 wiz Exp $

PKGNAME=	coda-server-${DIST_VERS}
PKGREVISION=	1
COMMENT=	Server programs for a replicated high-performance network file system

.include "Makefile.common"

BUILD_TARGET=		coda
INSTALL_TARGET=		server-install

USE_PKGINSTALL=		yes
DEINSTALL_EXTRA_TMPL+=	${.CURDIR}/DEINSTALL
INSTALL_EXTRA_TMPL+=	${.CURDIR}/INSTALL

CONF_FILES+=	${EGDIR}/server.conf.ex ${PKG_SYSCONFDIR}/server.conf

post-install:
	cd ${PREFIX} && ${PAX} -O -zr					\
		-s "/usr\/\(man\/man.\/\)au.8/\1vice-au.8/"		\
		-s "/usr\///"						\
		-f ${_DISTDIR}/${CODADOC_DISTFILE}			\
		`${GREP} "^man/" ${PLIST_SRC} |				\
			${SED}	-e "s|^|usr/|"				\
				-e "s|vice-au\.8|au.8|"`

.include "../../mk/bsd.pkg.mk"