46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
COMMENT= export an RCS or CVS history as a fast-import stream
|
|
|
|
DISTNAME= cvs-fast-export-1.59
|
|
REVISION= 0
|
|
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://www.catb.org/esr/cvs-fast-export/
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB += c pthread
|
|
|
|
MASTER_SITES= http://www.catb.org/esr/cvs-fast-export/
|
|
|
|
# XXX weird tar, includes files symlinked to themselves
|
|
BUILD_DEPENDS= archivers/gtar
|
|
TAR= gtar
|
|
|
|
USE_GMAKE= Yes
|
|
MODULES= lang/python
|
|
CONFIGURE_STYLE= x # bad python.port.mk
|
|
MAKE_FLAGS= CFLAGS="${CFLAGS}" mandir=${WRKINST}${PREFIX}/man
|
|
BUILD_DEPENDS+= devel/bison \
|
|
textproc/asciidoc
|
|
|
|
ALL_TARGET= cvs-fast-export
|
|
TEST_DEPENDS= devel/cppcheck \
|
|
sysutils/coreutils
|
|
TEST_TARGET= check
|
|
TEST_FLAGS= HOME=${WRKDIR} MAKE=${MAKE_PROGRAM}
|
|
MODPY_ADJ_FILES= cvsconvert cvssync
|
|
|
|
post-install:
|
|
sed -i "s,’,',g" ${PREFIX}/man/man1/*.1
|
|
|
|
pre-test:
|
|
.for i in date make
|
|
ln -fs ${LOCALBASE}/bin/g$i ${WRKDIR}/bin/$i
|
|
.endfor
|
|
sed -i 's,^UseNewInfoFmtStrings=yes,#UseNewInfoFmtStrings=yes,' \
|
|
${WRKSRC}/tests/*/CVSROOT/config # avoid warnings from old cvs
|
|
|
|
.include <bsd.port.mk>
|