Index: head/audio/py-pyliblo/Makefile =================================================================== --- head/audio/py-pyliblo/Makefile +++ head/audio/py-pyliblo/Makefile @@ -2,7 +2,8 @@ # $FreeBSD$ PORTNAME= pyliblo -PORTVERSION= 0.10.0 +DISTVERSION= 0.10.0 +PORTREVISION= 1 CATEGORIES= audio python MASTER_SITES= http://das.nasophon.de/download/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,14 +14,13 @@ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= pyrex>=0.9.4:devel/pyrex \ - ${LOCALBASE}/bin/cython:lang/cython +BUILD_DEPENDS= cython${PYTHON_VER:M3.*:S/^3/-3/}:lang/cython${PYTHON_MAJOR_VER:M3} LIB_DEPENDS= liblo.so:audio/liblo +USES= localbase:ldflags python USES= python -USE_PYTHON= distutils +USE_PYTHON= distutils # autoplist fails to add the manpage files MAKE_ENV+= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} -LDFLAGS+= -L${LOCALBASE}/lib post-patch: ${REINPLACE_CMD} -e 's#%%LOCALBASE%%#${LOCALBASE}#g' ${WRKSRC}/setup.py