aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/rpm2cpio/Makefile
blob: 8067fcbaa9cfb6ef182e4f2302cbeb005c0df73a (plain) (blame)
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
# 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$
#

PORTNAME=   rpm2cpio
PORTVERSION=    1.2
PORTREVISION=   2
CATEGORIES= archivers
MASTER_SITES=   # none
DISTFILES=  # none

MAINTAINER= nox@jelal.kn-bremen.de
COMMENT=    Convert .rpm files for extraction with /usr/bin/cpio, needs just perl

NO_WRKSUBDIR=   yes

USE_PERL5=  yes
NO_BUILD=   yes

do-fetch:
    @${DO_NADA}

do-extract:
    @${MKDIR} ${WRKSRC}
    ${PERL5} -p -e "if (1 .. 1) {s-^#!/usr/bin/perl-#!${PERL}-;}" ${FILESDIR}/${PORTNAME} >${WRKDIR}/${PORTNAME}

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

.include <bsd.port.mk>