blob: 57dccced42b73dd8040984d3055a76a48e609316 (
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
26
27
28
29
30
31
32
33
34
35
36
37
|
# $NetBSD: Makefile,v 1.6 2005/07/15 18:27:49 jlam Exp $
DISTNAME= ${PKGNAME_NOREV}-5.src.rpm
PKGNAME= newt-0.51.6
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://download.fedora.redhat.com/pub/fedora/linux/core/3/SRPMS/
EXTRACT_SUFX= # empty
MAINTAINER= riz@NetBSD.org
HOMEPAGE= # empty
COMMENT= Windowing toolkit based on libslang
BUILD_DEPENDS+= rpm2pkg>=2.0:../../pkgtools/rpm2pkg
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 ${PREFIX}/lib;\
${INSTALL_DATA} newt.h ${PREFIX}/include; \
${LIBTOOL} --mode=install ${INSTALL} whiptail ${PREFIX}/bin
.include "../../devel/libslang/buildlink3.mk"
.include "../../devel/popt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|