diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-01-06 00:08:06 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-01-06 00:08:06 +0000 |
commit | 255587972e6519c1099e5d6a98f32be7bb64d17c (patch) | |
tree | d17c65cbda8c808398ae7fca4196258bd3932d1a /devel/cvsup/Makefile.common | |
parent | 549d1dc743f733297a59a4af2d76cd95a5762aec (diff) | |
download | pkgsrc-255587972e6519c1099e5d6a98f32be7bb64d17c.tar.gz |
CVSup built from sources via lang/ezm3, if you want to use the binary
install devel/cvsup-bin instead.
Diffstat (limited to 'devel/cvsup/Makefile.common')
-rw-r--r-- | devel/cvsup/Makefile.common | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/devel/cvsup/Makefile.common b/devel/cvsup/Makefile.common new file mode 100644 index 00000000000..01cba18ea35 --- /dev/null +++ b/devel/cvsup/Makefile.common @@ -0,0 +1,51 @@ +# $NetBSD: Makefile.common,v 1.1 2004/01/06 00:08:06 xtraeme Exp $ + +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 + +ONLY_FOR_PLATFORM= FreeBSD-*-i386 NetBSD-*-i386 + +.include "../../mk/bsd.prefs.mk" + +BUILD_DEPENDS= ezm3-*:../../lang/ezm3-${OPSYS}-${MACHINE_ARCH} + +CONFLICTS= cvsup-* +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/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} |