if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}. This commit doesn't change any versions currently used; it may be that some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those should be cleaned up in the course of updating ports where possible. Python module ports providing py3-* packages should still use FLAVOR=python3 so that we don't have a mixture of dependencies some using ${MODPY_FLAVOR} and others not.
41 lines
836 B
Makefile
41 lines
836 B
Makefile
# $OpenBSD: Makefile,v 1.6 2021/02/23 19:39:40 sthen Exp $
|
|
|
|
COMMENT= version control system for large binary files
|
|
|
|
DISTNAME= boar-20170509
|
|
REVISION= 0
|
|
|
|
CATEGORIES= sysutils
|
|
HOMEPAGE= http://www.boarvcs.org
|
|
|
|
# Apache 2.0
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MASTER_SITES= http://distfiles-openbsd.perso.pw/
|
|
|
|
MODULES= lang/python
|
|
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
|
|
|
|
NO_BUILD= Yes
|
|
MODPY_BUILDDEP= Yes
|
|
|
|
NO_TEST= Yes
|
|
|
|
WRKDIST= ${WRKDIR}/boar
|
|
|
|
INSTDIR= ${PREFIX}/share/boar
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${INSTDIR}
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/boar/
|
|
cd ${WRKDIST} && pax -rw * ${INSTDIR}
|
|
${INSTALL_DATA} ${PREFIX}/share/boar/README.md \
|
|
${PREFIX}/share/doc/boar/
|
|
rm ${INSTDIR}/README.md
|
|
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
|
|
${INSTDIR}/
|
|
@cd ${PREFIX}/bin && \
|
|
ln -sf ../share/boar/boar boar
|
|
|
|
.include <bsd.port.mk>
|