43 lines
1018 B
Makefile
43 lines
1018 B
Makefile
# $OpenBSD: Makefile,v 1.2 2016/09/13 13:24:25 sthen Exp $
|
|
|
|
COMMENT= export an RCS or CVS history as a fast-import stream
|
|
|
|
DISTNAME= cvs-fast-export-1.40
|
|
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://www.catb.org/esr/cvs-fast-export/
|
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += c pthread
|
|
|
|
MASTER_SITES= http://www.catb.org/esr/cvs-fast-export/
|
|
|
|
USE_GMAKE= Yes
|
|
MODULES= lang/python
|
|
CONFIGURE_STYLE= x # bad python.port.mk
|
|
MAKE_FLAGS= CFLAGS="${CFLAGS}"
|
|
BUILD_DEPENDS= devel/bison \
|
|
textproc/asciidoc
|
|
|
|
ALL_TARGET= cvs-fast-export
|
|
TEST_TARGET= check
|
|
TEST_FLAGS= HOME=${WRKDIR}
|
|
MODPY_ADJ_FILES= cvsconvert cvssync
|
|
|
|
post-install:
|
|
sed -i "s,’,',g" ${PREFIX}/man/man1/*.1
|
|
|
|
pre-test:
|
|
-ln -s ${MODPY_BIN} ${WRKDIR}/bin/python
|
|
-ln -s ${LOCALBASE}/bin/python${MODPY_DEFAULT_VERSION_3} \
|
|
${WRKDIR}/bin/python3
|
|
sed -i 's,^UseNewInfoFmtStrings=yes,#UseNewInfoFmtStrings=yes,' \
|
|
${WRKSRC}/tests/*/CVSROOT/config # avoid warnings from old cvs
|
|
|
|
.include <bsd.port.mk>
|