diff options
author | minskim <minskim> | 2004-12-21 01:48:19 +0000 |
---|---|---|
committer | minskim <minskim> | 2004-12-21 01:48:19 +0000 |
commit | 735572b74b30f529364bb30d249ade643dfcdfca (patch) | |
tree | 4169d7b03e561cb2c991ba8bb68e1082aaf10624 /net/overnet | |
parent | 973e1e09724a93dd701c52dae86c5d51afcecb23 (diff) | |
download | pkgsrc-735572b74b30f529364bb30d249ade643dfcdfca.tar.gz |
Avoid using RPMFILES, which is not available on Linux. Instead, run
rpm2pkg directly. No more dynamic PLIST.
Bump PKGREVISION due to PLIST changes.
Diffstat (limited to 'net/overnet')
-rw-r--r-- | net/overnet/Makefile | 26 | ||||
-rw-r--r-- | net/overnet/PLIST | 6 | ||||
-rw-r--r-- | net/overnet/distinfo | 6 |
3 files changed, 28 insertions, 10 deletions
diff --git a/net/overnet/Makefile b/net/overnet/Makefile index 78cf6313afc..454fa2e34bd 100644 --- a/net/overnet/Makefile +++ b/net/overnet/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.6 2004/12/21 00:21:56 minskim Exp $ +# $NetBSD: Makefile,v 1.7 2004/12/21 01:48:19 minskim Exp $ # DISTNAME= overnetclc-1.0.1 PKGNAME= ${DISTNAME:C/clc//} +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.zen18864.zen.co.uk/overnet/1.0.1/ DISTFILES= ${DISTNAME}-1.i386_compat.rpm @@ -11,14 +12,15 @@ MAINTAINER= grant@NetBSD.org HOMEPAGE= http://www.overnet.com/ COMMENT= Peer-to-peer file sharing client (binary pkg) +BUILD_DEPENDS+= rpm2pkg-[0-9]*:../../pkgtools/rpm2pkg + WRKSRC= ${WRKDIR} EXTRACT_ONLY= # empty NO_CONFIGURE= # defined NO_BUILD= # defined -PLIST_SRC+= ${WRKDIR}/PLIST_DYNAMIC -PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR} +CHECK_SHLIBS= no -RPMFILES= ${DISTFILES} +EVAL_PREFIX= RPM2PKGDIR=rpm2pkg ONLY_FOR_PLATFORM= Linux-*-i[3-6]86 NetBSD-*-i386 @@ -28,8 +30,20 @@ ONLY_FOR_PLATFORM= Linux-*-i[3-6]86 NetBSD-*-i386 DEPENDS+= suse_compat>=7.3:../../emulators/${SUSE_DIR_PREFIX}_compat .endif -post-install: - ${LN} -fs ../${EMULSUBDIR}/usr/bin/overnetclc ${PREFIX}/bin +do-extract: + ${RPM2PKGDIR}/sbin/rpm2pkg -d ${WRKDIR} \ + ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} + +do-install: + ${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/overnetclc ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/overnetclc +.for f in ChangeLog LISEZMOI README + ${INSTALL_DATA} ${WRKDIR}/usr/share/doc/overnetclc/${f} \ + ${PREFIX}/share/doc/overnetclc +.endfor + ${INSTALL_DATA_DIR} ${PREFIX}/share/overnetclc + ${INSTALL_DATA} ${WRKSRC}/usr/share/overnetclc/contact.dat \ + ${PREFIX}/share/overnetclc .include "../../emulators/suse_linux/Makefile.application" .include "../../mk/bsd.pkg.mk" diff --git a/net/overnet/PLIST b/net/overnet/PLIST index d65d8375f6e..f7ae042611e 100644 --- a/net/overnet/PLIST +++ b/net/overnet/PLIST @@ -1,2 +1,6 @@ -@comment $NetBSD: PLIST,v 1.2 2004/12/19 11:14:51 minskim Exp $ +@comment $NetBSD: PLIST,v 1.3 2004/12/21 01:48:19 minskim Exp $ bin/overnetclc +share/doc/overnetclc/ChangeLog +share/doc/overnetclc/LISEZMOI +share/doc/overnetclc/README +share/overnetclc/contact.dat diff --git a/net/overnet/distinfo b/net/overnet/distinfo index 9031cea34c3..c0e9fb238a1 100644 --- a/net/overnet/distinfo +++ b/net/overnet/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2004/12/19 11:14:51 minskim Exp $ +$NetBSD: distinfo,v 1.5 2004/12/21 01:48:19 minskim Exp $ -SHA1 (suse73/i386/overnetclc-1.0.1-1.i386_compat.rpm) = 6ef4542d428fc8fbd797c02f3644e8c0e5f8d58d -Size (suse73/i386/overnetclc-1.0.1-1.i386_compat.rpm) = 375628 bytes +SHA1 (overnetclc-1.0.1-1.i386_compat.rpm) = 6ef4542d428fc8fbd797c02f3644e8c0e5f8d58d +Size (overnetclc-1.0.1-1.i386_compat.rpm) = 375628 bytes |