1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/archivers/rpm2cpio/Makefile
Chris Piazza 7998565136 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>
1999-08-01 04:26:17 +00:00

30 lines
621 B
Makefile

# New ports collection makefile for: rpm2cpio
# Version required: #no version#
# Date created: Sun Jul 18 21:51:23 MET DST 1999
# Whom: Juergen Lock <nox@jelal.kn-bremen.de>
#
# $Id$
#
DISTNAME= rpm2cpio
PKGNAME= rpm2cpio-1.0
CATEGORIES= misc
MASTER_SITES= http://www.eleves.ens.fr:8080/home/espel/
EXTRACT_SUFX=
MAINTAINER= nox@jelal.kn-bremen.de
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= .
USE_PERL5= yes
do-build:
${PERL5} -i.bak -p -e "if (1 .. 1) {s-^#!/usr/bin/perl-#!${PERL}-;}" ${WRKDIR}/rpm2cpio
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/rpm2cpio ${PREFIX}/bin
.include <bsd.port.mk>