summaryrefslogtreecommitdiff
path: root/devel/cvsup-bin/Makefile
blob: eadd46cd66ddc41b4f2f34e166afc090f2644ca4 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# $NetBSD: Makefile,v 1.13 2008/03/03 17:45:34 jlam Exp $

DISTNAME=	cvsup-static-16.1.h
PKGNAME=	${DISTNAME:C/static/bin/}
CATEGORIES=	devel scm
MASTER_SITES=	http://motoyuki.bsdclub.org/data/NetBSD/CVSup/i386/
EXTRACT_SUFX=	.tgz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://people.freebsd.org/~jdp/
COMMENT=	cvsup daemon and client

CONFLICTS=	cvsup-[0-9]* cvsup-gui-[0-9]*

EMUL_PLATFORMS=		netbsd-i386
EMUL_REQD=		netbsd>=1.5

PKG_DESTDIR_SUPPORT=	user-destdir

# XXX Remove the following line on the next update; see PR 25255 for details
DIST_SUBDIR=		cvsup-i386-1.6

WRKSRC=			${WRKDIR}
NO_CONFIGURE=		yes
BUILD_DIRS=		# empty

AUTO_MKDIRS=			yes

do-install:
	cd ${WRKSRC} && for i in cvpasswd cvsup ; do \
		${INSTALL_PROGRAM} bin/$$i ${DESTDIR}${PREFIX}/bin; \
	done
	cd ${WRKSRC} && for i in cvsupd; do \
		${INSTALL_PROGRAM} sbin/$$i ${DESTDIR}${PREFIX}/sbin; \
	done
	cd ${WRKSRC} && for i in cvpasswd.1 cvsup.1; do \
		${INSTALL_MAN} man/man1/$$i \
			${DESTDIR}${PREFIX}/${PKGMANDIR}/man1; \
	done
	cd ${WRKSRC} && for i in cvsupd.8; do \
		${INSTALL_MAN} man/man8/$$i \
			${DESTDIR}${PREFIX}/${PKGMANDIR}/man8; \
	done
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/cvsup
	${INSTALL_DATA} ${WRKSRC}/share/doc/cvsup/License \
		${DESTDIR}${PREFIX}/share/doc/cvsup
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/cvsup
	${INSTALL_DATA} ${FILESDIR}/supfile* \
		${DESTDIR}${PREFIX}/share/examples/cvsup

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