blob: c26a6b6a7d3ae67a268a58cb6ade83123fa4cfac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $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 -
|