d400d7ccbd
python bindings for newt. While here, fix the library to link against its dependencies. Bump PKGREVISION.
25 lines
689 B
Text
25 lines
689 B
Text
# $NetBSD: Makefile.common,v 1.1 2008/04/13 09:54:42 wiz Exp $
|
|
# used by devel/py-newt/Makefile
|
|
|
|
DISTNAME= newt-${VERSION}-5.src.rpm
|
|
PKGNAME= newt-${VERSION}
|
|
VERSION= 0.51.6
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://download.fedora.redhat.com/pub/fedora/linux/core/3/SRPMS/
|
|
EXTRACT_SUFX= # empty
|
|
|
|
MAINTAINER= riz@NetBSD.org
|
|
HOMEPAGE= # empty
|
|
|
|
BUILD_DEPENDS+= rpm2pkg>=2.0:../../pkgtools/rpm2pkg
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../devel/newt/distinfo
|
|
PATCHDIR= ${.CURDIR}/../../devel/newt/patches
|
|
|
|
USE_TOOLS+= gmake gzcat tar
|
|
|
|
WRKSRC= ${WRKDIR}/newt-${VERSION}
|
|
|
|
do-extract:
|
|
${LOCALBASE}/sbin/rpm2pkg -d ${WRKDIR} ${DISTDIR}/${DISTNAME}
|
|
cd ${WRKDIR} ; ${GZCAT} ${WRKSRC}.tar.gz | ${TAR} -xf -
|