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.
39 lines
827 B
Makefile
39 lines
827 B
Makefile
# $OpenBSD: Makefile,v 1.7 2021/02/23 19:39:44 sthen Exp $
|
|
|
|
COMMENT = fast bitrot detection utility
|
|
|
|
V = 0.4
|
|
DISTNAME = yabitrot-${V}
|
|
REVISION = 0
|
|
|
|
CATEGORIES = sysutils
|
|
|
|
HOMEPAGE = https://sourceforge.net/projects/yabitrot/
|
|
|
|
MAINTAINER = Martin Ziemer <horrad@horrad.de>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=yabitrot/}
|
|
EXTRACT_SUFX = .tar.gz
|
|
|
|
MODULES = lang/python
|
|
NO_BUILD = yes
|
|
PKG_ARCH = *
|
|
|
|
WRKDIST = ${WRKDIR}/yabitrot-${V}
|
|
|
|
CONFIGURE_STYLE = none
|
|
|
|
pre-install:
|
|
${SUBST_CMD} ${WRKSRC}/yabitrot
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/yabitrot ${PREFIX}/bin/yabitrot
|
|
${INSTALL_MAN} ${WRKSRC}/yabitrot.1 ${PREFIX}/man/man1/
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/yabitrot/
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/yabitrot/README
|
|
|
|
.include <bsd.port.mk>
|