head	1.19;
access;
symbols
	RELEASE_8_3_0:1.18
	RELEASE_9_0_0:1.18
	RELEASE_7_4_0:1.18
	RELEASE_8_2_0:1.18
	RELEASE_6_EOL:1.18
	RELEASE_8_1_0:1.16
	RELEASE_7_3_0:1.16
	RELEASE_8_0_0:1.16
	RELEASE_7_2_0:1.16
	RELEASE_7_1_0:1.16
	RELEASE_6_4_0:1.16
	RELEASE_5_EOL:1.16
	RELEASE_7_0_0:1.16
	RELEASE_6_3_0:1.16
	PRE_XORG_7:1.16
	RELEASE_4_EOL:1.16
	RELEASE_6_2_0:1.15
	RELEASE_6_1_0:1.15
	RELEASE_5_5_0:1.15
	RELEASE_6_0_0:1.15
	RELEASE_5_4_0:1.15
	RELEASE_4_11_0:1.15
	RELEASE_5_3_0:1.15
	RELEASE_4_10_0:1.15
	RELEASE_5_2_1:1.11
	RELEASE_5_2_0:1.11
	RELEASE_4_9_0:1.10
	RELEASE_5_1_0:1.10
	RELEASE_4_8_0:1.10
	RELEASE_5_0_0:1.9
	RELEASE_4_7_0:1.9
	RELEASE_4_6_2:1.9
	RELEASE_4_6_1:1.9
	RELEASE_4_6_0:1.9
	RELEASE_5_0_DP1:1.8
	RELEASE_4_5_0:1.8
	RELEASE_4_4_0:1.8
	RELEASE_4_3_0:1.6
	RELEASE_4_2_0:1.4
	RELEASE_4_1_1:1.4
	RELEASE_4_1_0:1.4
	RELEASE_3_5_0:1.4
	RELEASE_4_0_0:1.2
	RELEASE_3_4_0:1.2
	RELEASE_3_3_0:1.2
	v_1_0:1.1.1.1
	NOX:1.1.1;
locks; strict;
comment	@# @;


1.19
date	2012.11.17.05.54.23;	author svnexp;	state Exp;
branches;
next	1.18;

1.18
date	2010.08.22.15.29.20;	author nox;	state Exp;
branches;
next	1.17;

1.17
date	2010.07.08.19.23.24;	author nox;	state Exp;
branches;
next	1.16;

1.16
date	2006.12.23.17.42.40;	author nox;	state Exp;
branches;
next	1.15;

1.15
date	2004.02.06.13.10.42;	author trevor;	state Exp;
branches;
next	1.14;

1.14
date	2003.12.14.12.27.30;	author netchild;	state Exp;
branches;
next	1.13;

1.13
date	2003.12.12.13.32.47;	author netchild;	state Exp;
branches;
next	1.12;

1.12
date	2003.12.11.10.26.07;	author linimon;	state Exp;
branches;
next	1.11;

1.11
date	2003.10.26.22.37.40;	author kris;	state Exp;
branches;
next	1.10;

1.10
date	2003.02.21.10.42.56;	author knu;	state Exp;
branches;
next	1.9;

1.9
date	2002.05.04.20.06.23;	author kris;	state Exp;
branches;
next	1.8;

1.8
date	2001.05.26.03.45.07;	author dougb;	state Exp;
branches;
next	1.7;

1.7
date	2001.05.26.03.43.53;	author dougb;	state Exp;
branches;
next	1.6;

1.6
date	2001.03.20.20.28.12;	author obrien;	state Exp;
branches;
next	1.5;

1.5
date	2001.03.10.04.52.27;	author kris;	state Exp;
branches;
next	1.4;

1.4
date	2000.04.29.23.57.16;	author steve;	state Exp;
branches;
next	1.3;

1.3
date	2000.04.14.08.46.36;	author asami;	state Exp;
branches;
next	1.2;

1.2
date	99.08.25.07.22.29;	author obrien;	state Exp;
branches;
next	1.1;

1.1
date	99.08.01.04.26.17;	author cpiazza;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.08.01.04.26.17;	author cpiazza;	state Exp;
branches;
next	;


desc
@@


1.19
log
@Switch exporter over
@
text
@# New ports collection makefile for:	rpm2cpio
# Date created:		Sun Jul 18 21:51:23 MET DST 1999
# Whom:			Juergen Lock <nox@@jelal.kn-bremen.de>
#
# $FreeBSD: head/archivers/rpm2cpio/Makefile 300895 2012-07-14 12:56:14Z beat $
#

PORTNAME=	rpm2cpio
PORTVERSION=	1.3
PORTREVISION=	1
CATEGORIES=	archivers
MASTER_SITES=	# none
DISTFILES=	# none

MAINTAINER=	nox@@FreeBSD.org
COMMENT=	Convert .rpm files for extraction with /usr/bin/cpio, needs just perl

NO_WRKSUBDIR=	yes

USE_PERL5=	yes
NO_BUILD=	yes
REINPLACE_ARGS=

PLIST_FILES=	bin/rpm2cpio.pl

.include <bsd.port.pre.mk>

.if ( (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) || ${OSVERSION} < 800505 )
RUN_DEPENDS+=	${LOCALBASE}/bin/xz:${PORTSDIR}/archivers/xz
.endif

do-fetch:
	@@${DO_NADA}

do-extract:
	@@${MKDIR} ${WRKSRC}
	@@${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|' ${FILESDIR}/${PORTNAME} >${WRKDIR}/${PORTNAME}

do-install:
	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}.pl

.include <bsd.port.post.mk>
@


1.18
log
@Some minor updates:

- remove $/, $| it's artifacts from $rpm = <$f>; time.
  [this might help in low RAM situations]
- change && to and
- whitespace cosmetic.

Submitted by:	Alex Kozlov <spam@@rm-rf.kiev.ua> (via private email)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.17
log
@- Update and add support for newer rpms that use xz or lzma.  [1]
- Added RUN_DEPENDS on archivers/xz on systems where its not in base.

PR:		ports/148446 [1]
Submitted by:	Alex Kozlov <spam@@rm-rf.kiev.ua>
@
text
@d10 1
@


1.16
log
@Update MAINTAINER email address of my ports

Approved by:	miwi
@
text
@d9 1
a9 2
PORTVERSION=	1.2
PORTREVISION=	2
d21 2
d25 6
d36 1
a36 1
	${PERL5} -p -e "if (1 .. 1) {s-^#!/usr/bin/perl-#!${PERL}-;}" ${FILESDIR}/${PORTNAME} >${WRKDIR}/${PORTNAME}
d41 1
a41 1
.include <bsd.port.mk>
@


1.15
log
@Use PLIST_FILES (bento-tested, marcus-reviewed).
@
text
@d15 1
a15 1
MAINTAINER=	nox@@jelal.kn-bremen.de
@


1.14
log
@Add RPM v4 support.

Submitted by:	Marius Strobl <marius@@alchemy.franken.de>
Approved by:	maintainer
@
text
@d22 1
@


1.13
log
@ - add missing file from the last update
 - distinfo isn't needed anymore, the used file has no home and is
   included

PR:		59980 (part of)
Submitted by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.12
log
@Replaces existing code with a version that doesn't slurp the entire file
into memory and supports the newer bzip2 compressed rpms.  Also, call it
rpm2cpio.pl so that it doesn't conflict with the binary version from
archivers/rpm.

PR:		ports/59980
Submitted by:	Juergen Lock <nox@@jelal.kn-bremen.de> (maintainer)
@
text
@d10 1
@


1.11
log
@Portlint (DISTFILES -> DISTNAME, EXTRACT_SUFX)
@
text
@d9 1
a9 1
PORTVERSION=	1.1.20020306
d11 2
a12 3
MASTER_SITES=	http://www.iagora.com/~espel/
DISTNAME=	${PORTNAME}
EXTRACT_SUFX=
a17 3
EXTRACT_CMD=	${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS=	.
d20 1
d22 6
a27 2
do-build:
	${PERL5} -i.bak -p -e "if (1 .. 1) {s-^#!/usr/bin/perl-#!${PERL}-;}" ${WRKDIR}/rpm2cpio
d30 1
a30 1
	${INSTALL_SCRIPT} ${WRKDIR}/rpm2cpio ${PREFIX}/bin
@


1.10
log
@De-pkg-comment.
@
text
@d12 2
a13 1
DISTFILES=	${PORTNAME}
@


1.9
log
@Distfile was changed: some minor code changes with the
following note:

# sw 2002-Mar-6 Don't slurp the whole file
@
text
@d15 1
@


1.8
log
@Blah... the previous message was actually supposed to have been for distinfo
@
text
@d5 1
a5 1
# $FreeBSD: ports/archivers/rpm2cpio/Makefile,v 1.7 2001/05/26 03:43:53 dougb Exp $
d9 1
a9 1
PORTVERSION=	1.1
@


1.7
log
@Previous commit should have indicated that although a cursory visual exam
showed no major changes to the file, a diff showed that the one real
change was to add clarity to an example in the help.
@
text
@d5 1
a5 1
# $FreeBSD: ports/archivers/rpm2cpio/Makefile,v 1.6 2001/03/20 20:28:12 obrien Exp $
@


1.6
log
@`rpm' and `rpm2cpio' have been repocopied from "misc" to "archivers".
@
text
@d5 1
a5 1
# $FreeBSD: ports/archivers/rpm2cpio/Makefile,v 1.5 2001/03/10 04:52:27 kris Exp $
@


1.5
log
@Author released a new version which handles version 4 RPMs also.  Since
the distfile doesn't carry a version, arbitrarily call it version 1.1
@
text
@d5 1
a5 1
# $FreeBSD: ports/misc/rpm2cpio/Makefile,v 1.4 2000/04/29 23:57:16 steve Exp $
d10 1
a10 1
CATEGORIES=	misc
@


1.4
log
@- Fix MASTER_SITES
- Add WWW: line to pkg/DESCR

PR:		18278
Submitted by:	KATO Tsuguru <tkato@@prontomail.ne.jp>
@
text
@d5 1
a5 1
# $FreeBSD: ports/misc/rpm2cpio/Makefile,v 1.3 2000/04/14 08:46:36 asami Exp $
d9 1
a9 1
PORTVERSION=	1.0
@


1.3
log
@Convert to PORTNAME/PORTVERSION.
@
text
@d5 1
a5 1
# $FreeBSD: ports/misc/rpm2cpio/Makefile,v 1.2 1999/08/25 07:22:29 obrien Exp $
d11 1
a11 1
MASTER_SITES=	http://www.eleves.ens.fr:8080/home/espel/
@


1.2
log
@Change Id->FreeBSD.
@
text
@a1 1
# Version required:	#no version#
d5 1
a5 1
# $FreeBSD$
d8 2
a9 2
DISTNAME=	rpm2cpio
PKGNAME=	rpm2cpio-1.0
d12 1
a12 1
EXTRACT_SUFX=
d16 1
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
@


1.1.1.1
log
@Import of rpm2cpio (perl version).  Converts .rpm files for extraction
with /usr/bin/cpio.  Created so there would be a lightweight version
that didn't require a tonne of other requirements.

PR:		12701
Submitted by:	Juergen Lock <nox@@jelal.kn-bremen.de>
@
text
@@
