freebsd-ports/archivers/rpm2cpio/Makefile
Stefan Eßer 04b9da4140 */*: Remove redundant '-*' from CONFLICTS definitions
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Approved by: portmgr (blanket)
2021-11-25 22:40:11 +01:00

28 lines
611 B
Makefile

# Created by: Juergen Lock <nox@jelal.kn-bremen.de>
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>