blob: 902fc4968f7c6efe1371866a2a0816edf882babd (
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
52
|
# $NetBSD: Makefile.common,v 1.6 2005/06/05 09:49:01 jmmv Exp $
DISTNAME= cvsup-snap-16.1h
PKGREVISION= 1
CATEGORIES= devel net
MASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/development/CVSup/snapshots/
MAINTAINER= motoyuki@bsdclub.org
HOMEPAGE= http://www.polstra.com/projects/freeware/CVSup/
COMMENT= cvsup daemon and client
ONLY_FOR_PLATFORM= DragonFly-*-i386 FreeBSD-*-i386 Linux-*-i386 \
NetBSD-*-i386
.include "../../mk/bsd.prefs.mk"
MAKE_FLAGS+= PREFIX=${PREFIX} M3FLAGS="${M3FLAGS}"
M3BIN= ${PREFIX}/ezm3/bin/m3build
DESCR_SRC= ${.CURDIR}/../../devel/cvsup/DESCR
DISTINFO_FILE= ${.CURDIR}/../../devel/cvsup/distinfo
PLIST_SRC= ${.CURDIR}/../../devel/cvsup/PLIST
PATCHDIR= ${.CURDIR}/../../devel/cvsup/patches
FILESDIR= ${.CURDIR}/../../devel/cvsup-bin/files
post-extract:
@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.in
pre-configure:
@${SED} -e "s,@M3BIN@,${M3BIN},g" ${WRKSRC}/Makefile.in > \
${WRKSRC}/Makefile
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= CVSUP_STATIC
CVSUP_STATIC?= NO
.if defined(CVSUP_STATIC) && !empty(CVSUP_STATIC:M[Yy][Ee][Ss])
M3FLAGS+= -DSTATIC
STATIC= -static
.endif
EGDIR= ${PREFIX}/share/examples/cvsup
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cvsup ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/License ${PREFIX}/share/doc/cvsup
${INSTALL_DATA} ${FILESDIR}/*cvsup* \
${EGDIR}
.include "../../lang/ezm3/buildlink3.mk"
|