diff options
author | wiz <wiz> | 2008-04-13 09:54:42 +0000 |
---|---|---|
committer | wiz <wiz> | 2008-04-13 09:54:42 +0000 |
commit | 010635c439c11b560b36fcfef198dc0ac44a4edc (patch) | |
tree | 07726b5f93f50dec71f85c92c767407c371d2f4f /devel/newt/Makefile | |
parent | c537e5019cb76ba7ad394e095e493681560faca1 (diff) | |
download | pkgsrc-010635c439c11b560b36fcfef198dc0ac44a4edc.tar.gz |
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.
Diffstat (limited to 'devel/newt/Makefile')
-rw-r--r-- | devel/newt/Makefile | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/devel/newt/Makefile b/devel/newt/Makefile index c40ebec6356..5950ea59814 100644 --- a/devel/newt/Makefile +++ b/devel/newt/Makefile @@ -1,33 +1,18 @@ -# $NetBSD: Makefile,v 1.8 2008/03/03 17:45:36 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2008/04/13 09:54:42 wiz Exp $ -DISTNAME= ${PKGNAME_NOREV}-5.src.rpm -PKGNAME= newt-0.51.6 -PKGREVISION= 2 -CATEGORIES= devel -MASTER_SITES= http://download.fedora.redhat.com/pub/fedora/linux/core/3/SRPMS/ -EXTRACT_SUFX= # empty +.include "Makefile.common" -MAINTAINER= riz@NetBSD.org -HOMEPAGE= # empty +PKGREVISION= 3 COMMENT= Windowing toolkit based on libslang -BUILD_DEPENDS+= rpm2pkg>=2.0:../../pkgtools/rpm2pkg - PKG_DESTDIR_SUPPORT= user-destdir -USE_TOOLS+= gmake gzcat tar - USE_LIBTOOL= yes NO_EXPORT_CPP= yes GNU_CONFIGURE= yes -WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} INSTALLATION_DIRS= bin include lib -do-extract: - ${LOCALBASE}/sbin/rpm2pkg -d ${WRKDIR} ${DISTDIR}/${DISTNAME} - cd ${WRKDIR} ; ${GZCAT} ${WRKSRC}.tar.gz | ${TAR} -xf - - do-install: cd ${WRKSRC}; \ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} libnewt.la ${DESTDIR}${PREFIX}/lib;\ |