Make it possible to install both the unflavored and python3 flavored
versions of this package by appending ${MODPY_BIN_SUFFIX} to natsort.
This commit is contained in:
parent
9ec6d43554
commit
2b4fe9bd48
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2018/05/05 15:06:53 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2018/05/10 07:26:25 ajacoutot Exp $
|
||||
|
||||
COMMENT = simple yet flexible natural sorting
|
||||
|
||||
MODPY_EGG_VERSION = 5.3.0
|
||||
DISTNAME = natsort-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-${DISTNAME}
|
||||
REVISION = 0
|
||||
|
||||
CATEGORIES = textproc devel
|
||||
|
||||
@ -24,4 +25,7 @@ FLAVOR ?=
|
||||
# could also make use of 'fastnumbers'
|
||||
RUN_DEPENDS = textproc/py-ICU${MODPY_FLAVOR}
|
||||
|
||||
post-install:
|
||||
mv ${PREFIX}/bin/natsort{,${MODPY_BIN_SUFFIX}}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2018/05/05 15:06:53 jasper Exp $
|
||||
bin/natsort
|
||||
@comment $OpenBSD: PLIST,v 1.2 2018/05/10 07:26:25 ajacoutot Exp $
|
||||
bin/natsort${MODPY_BIN_SUFFIX}
|
||||
lib/python${MODPY_VERSION}/site-packages/natsort/
|
||||
lib/python${MODPY_VERSION}/site-packages/natsort-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/natsort-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
|
||||
|
Loading…
x
Reference in New Issue
Block a user