freebsd-ports/archivers/rpm2cpio/Makefile
Alex Kozlov 129fa2d098 - Simplify port
- Add license
- Install also as rpm2cpio, therefore add CONFLICTS_INSTALL with rpm4 [1]

Proded by:	koobs [1]
2016-02-09 20:06:21 +00:00

29 lines
625 B
Makefile

# Created by: Juergen Lock <nox@jelal.kn-bremen.de>
# $FreeBSD$
PORTNAME= rpm2cpio
PORTVERSION= 1.4
PORTREVISION= 2
CATEGORIES= archivers
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= ak@FreeBSD.org
COMMENT= Convert .rpm files to cpio format
LICENSE= BSD2CLAUSE
CONFLICTS_INSTALL= rpm4-*
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= bin/rpm2cpio.pl \
bin/rpm2cpio
do-install:
${INSTALL_SCRIPT} ${FILESDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
# Also install as rpm2cpio.pl to not break existing scripts
${LN} -f ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}.pl
.include <bsd.port.mk>