distutils pkg, use python/distutils.mk, then register egg-info.
Bump PKGREVISION.
This commit is contained in:
parent
c0b140e57c
commit
31edef4d8f
2 changed files with 7 additions and 4 deletions
|
@ -1,9 +1,10 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2010/05/19 12:10:10 obache Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2012/02/05 13:19:32 obache Exp $
|
||||
#
|
||||
|
||||
.include "../../textproc/yamcha/Makefile.common"
|
||||
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
PKGREVISION= 1
|
||||
CATEGORIES+= python
|
||||
|
||||
COMMENT= YamCha python module
|
||||
|
@ -12,10 +13,11 @@ PKG_DESTDIR_SUPPORT= user-destdir
|
|||
|
||||
USE_LANGUAGES= c c++
|
||||
|
||||
PYDISTUTILSPKG= yes
|
||||
PYSETUPSUBDIR= python
|
||||
|
||||
EGG_NAME= ${DISTNAME:S/-/_python-/}
|
||||
|
||||
BUILDLINK_API_DEPENDS.yamcha+= yamcha>=${PKGVERSION_NOREV}
|
||||
.include "../../textproc/yamcha/buildlink3.mk"
|
||||
.include "../../lang/python/extension.mk"
|
||||
.include "../../lang/python/distutils.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/19 12:10:10 obache Exp $
|
||||
@comment $NetBSD: PLIST,v 1.2 2012/02/05 13:19:32 obache Exp $
|
||||
${PYSITELIB}/YamCha.py
|
||||
${PYSITELIB}/YamCha.pyc
|
||||
${PYSITELIB}/YamCha.pyo
|
||||
${PYSITELIB}/_YamCha.so
|
||||
${PLIST.eggfile}${PYSITELIB}/${EGG_FILE}
|
||||
|
|
Loading…
Reference in a new issue