ajacoutot 923d4cb51a Unbreak, this needs python for building (compilall.y).
make show=BUILD_DEPENDS is a good hint when you want to make sure BDEP are
what you think they are.
Remove useless MODPY_DEFAULT_VERSION.
There are some weird @comment handling in the PLIST but that's a fight for
another day.
2018-05-01 00:18:21 +00:00

41 lines
868 B
Makefile

# $OpenBSD: Makefile,v 1.2 2018/05/01 00:18:21 ajacoutot 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_CDROM= Yes
MASTER_SITES= http://distfiles-openbsd.perso.pw/
MODULES= lang/python
NO_TEST= Yes
WRKDIST= ${WRKDIR}/boar
PKG_ARCH= *
INSTDIR= ${PREFIX}/share/boar
do-build:
# does nothing but required to add python as a BDEP (NO_BUILD would drop it)
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>