pkgsrc/devel/cvsup/Makefile.common
rillig ad2adba9a5 Ran pkglint --autofix on the devel/ category. Most of the changes are
simple white-space issues like indentation and trailing spaces. The
others are cross-references for Makefile.common.
2009-06-13 06:46:41 +00:00

55 lines
1.4 KiB
Makefile

# $NetBSD: Makefile.common,v 1.13 2009/06/13 06:46:41 rillig Exp $
# used by devel/cvsup/Makefile
# used by devel/cvsup-gui/Makefile
DISTNAME= cvsup-snap-16.1h
CATEGORIES= devel net scm
MASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/development/CVSup/snapshots/
MAINTAINER= motoyuki@bsdclub.org
HOMEPAGE= http://www.cvsup.org/
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:Q} M3FLAGS=${M3FLAGS:Q}
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
AUTO_MKDIRS= yes
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"