mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support stage
Use options helpers
This commit is contained in:
parent
8124097656
commit
21809f9bbf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346806
@ -12,13 +12,10 @@ COMMENT= GTK+ front end for various archiving tools
|
||||
|
||||
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
||||
|
||||
NO_STAGE= yes
|
||||
USES= pkgconfig
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GNOME= gtk20
|
||||
|
||||
MAN1= ${PORTNAME}.1
|
||||
|
||||
OPTIONS_DEFINE= 7ZIP ARJ ACE DEB RAR RPM ZIP
|
||||
|
||||
7ZIP_DESC= 7zip archive support
|
||||
@ -29,37 +26,15 @@ RAR_DESC= RAR archive support
|
||||
RPM_DESC= RPM archive support
|
||||
ZIP_DESC= ZIP archive support
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:M7ZIP}
|
||||
RUN_DEPENDS+= 7z:${PORTSDIR}/archivers/p7zip
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MARJ}
|
||||
RUN_DEPENDS+= arj:${PORTSDIR}/archivers/arj
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MACE}
|
||||
RUN_DEPENDS+= unace:${PORTSDIR}/archivers/unace
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MDEB}
|
||||
RUN_DEPENDS+= dpkg-deb:${PORTSDIR}/archivers/dpkg
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MRAR}
|
||||
RUN_DEPENDS+= rar:${PORTSDIR}/archivers/rar \
|
||||
7ZIP_RUN_DEPENDS= 7z:${PORTSDIR}/archivers/p7zip
|
||||
ARJ_RUN_DEPENDS+= arj:${PORTSDIR}/archivers/arj
|
||||
ACE_RUN_DEPENDS+= unace:${PORTSDIR}/archivers/unace
|
||||
DEB_RUN_DEPENDS+= dpkg-deb:${PORTSDIR}/archivers/dpkg
|
||||
RAR_RUN_DEPENDS+= rar:${PORTSDIR}/archivers/rar \
|
||||
unrar:${PORTSDIR}/archivers/unrar
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MRPM}
|
||||
RUN_DEPENDS+= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio \
|
||||
RPM_RUN_DEPENDS+= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio \
|
||||
rpm:${PORTSDIR}/archivers/rpm
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MZIP}
|
||||
RUN_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
|
||||
ZIP_RUN_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
|
||||
unzip:${PORTSDIR}/archivers/unzip
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -7,6 +7,7 @@ lib/xarchive/wrappers/rar-wrap.sh
|
||||
lib/xarchive/wrappers/rpm-wrap.sh
|
||||
lib/xarchive/wrappers/tar-wrap.sh
|
||||
lib/xarchive/wrappers/zip-wrap.sh
|
||||
man/man1/xarchive.1.gz
|
||||
share/applications/xarchive.desktop
|
||||
share/pixmaps/xarchive.xpm
|
||||
@dirrm lib/xarchive/wrappers
|
||||
|
Loading…
Reference in New Issue
Block a user