diff options
-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> |