summaryrefslogtreecommitdiff
path: root/net/coda5_server/Makefile
blob: 535f76e7a5bb0cfe94d814499c0cbbbbffa9035b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: Makefile,v 1.38 2003/07/21 17:10:29 martti Exp $

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

.include "Makefile.common"

ALL_TARGET=		coda
INSTALL_TARGET=		server-install

USE_PKGINSTALL=	yes
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"