pkgsrc/devel/newt/Makefile.common
wiz d400d7ccbd Split off parts of the Makefile into Makefile.common, to prepare for the
python bindings for newt.

While here, fix the library to link against its dependencies.
Bump PKGREVISION.
2008-04-13 09:54:42 +00:00

25 lines
689 B
Makefile

# $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 -