mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Simplify port
- Add license - Install also as rpm2cpio, therefore add CONFLICTS_INSTALL with rpm4 [1] Proded by: koobs [1]
This commit is contained in:
parent
97ab3bb97a
commit
129fa2d098
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408590
1 changed files with 9 additions and 9 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= rpm2cpio
|
||||
PORTVERSION= 1.4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
@ -11,19 +11,19 @@ DISTFILES= # none
|
|||
MAINTAINER= ak@FreeBSD.org
|
||||
COMMENT= Convert .rpm files to cpio format
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
CONFLICTS_INSTALL= rpm4-*
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
PLIST_FILES= bin/rpm2cpio.pl
|
||||
|
||||
do-extract:
|
||||
@${MKDIR} ${WRKSRC}
|
||||
@${CP} ${FILESDIR}/${PORTNAME} ${WRKSRC}/${PORTNAME}
|
||||
PLIST_FILES= bin/rpm2cpio.pl \
|
||||
bin/rpm2cpio
|
||||
|
||||
do-install:
|
||||
# Installed as rpm2cpio.pl to not break existing scripts
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}.pl
|
||||
${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>
|
||||
|
|
Loading…
Add table
Reference in a new issue