diff options
author | Alex Kozlov <ak@FreeBSD.org> | 2016-02-09 20:06:21 +0000 |
---|---|---|
committer | Alex Kozlov <ak@FreeBSD.org> | 2016-02-09 20:06:21 +0000 |
commit | 129fa2d098db1d0b7d5144c1aaa5aa289622a38f (patch) | |
tree | 657267b9c18c24759ad0976ec4ee1b0ada7cf0fd /archivers/rpm2cpio/Makefile | |
parent | Mark as broken on FreeBSD 9 (diff) |
- Simplify port
- Add license
- Install also as rpm2cpio, therefore add CONFLICTS_INSTALL with rpm4 [1]
Proded by: koobs [1]
Notes
Notes:
svn path=/head/; revision=408590
Diffstat (limited to '')
-rw-r--r-- | archivers/rpm2cpio/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/archivers/rpm2cpio/Makefile b/archivers/rpm2cpio/Makefile index bca8558349e0..f6d91d1bceb5 100644 --- a/archivers/rpm2cpio/Makefile +++ b/archivers/rpm2cpio/Makefile @@ -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> |