2004-06-04 20:19:50 +02:00
|
|
|
# $NetBSD: Makefile.common,v 1.4 2004/06/04 18:19:50 jschauma Exp $
|
2004-01-06 01:08:06 +01:00
|
|
|
|
|
|
|
DISTNAME= cvsup-snap-16.1h
|
|
|
|
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
|
|
|
|
|
2004-06-04 20:19:50 +02:00
|
|
|
ONLY_FOR_PLATFORM= FreeBSD-*-i386 NetBSD-*-i386 Linux-*-i386
|
2004-01-06 01:08:06 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2004-01-06 01:22:05 +01:00
|
|
|
BUILD_DEPENDS= ezm3>=1.1:../../lang/ezm3
|
2004-01-06 01:08:06 +01:00
|
|
|
|
|
|
|
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
|
2004-01-06 01:22:05 +01:00
|
|
|
FILESDIR= ${.CURDIR}/../../devel/cvsup-bin/files
|
2004-01-06 01:08:06 +01:00
|
|
|
|
|
|
|
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}
|