|
Lines 1-9
Link Here
|
| 1 |
# New ports collection makefile for: xarchive |
1 |
# Created by: Mark Kane <mark@mkproductions.org> |
| 2 |
# Date created: 09 November 2005 |
|
|
| 3 |
# Whom: Mark Kane <mark@mkproductions.org> |
| 4 |
# |
| 5 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
| 6 |
# |
|
|
| 7 |
|
3 |
|
| 8 |
PORTNAME= xarchive |
4 |
PORTNAME= xarchive |
| 9 |
PORTVERSION= 0.2.8.6 |
5 |
PORTVERSION= 0.2.8.6 |
|
Lines 22-64
Link Here
|
| 22 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
| 23 |
USE_GNOME= gtk20 |
19 |
USE_GNOME= gtk20 |
| 24 |
|
20 |
|
| 25 |
OPTIONS= 7ZIP "Support for 7zip archives" off \ |
21 |
OPTIONS_DEFINE= 7ZIP ARJ ACE DEB RAR RPM ZIP |
| 26 |
ARJ "Support for ARJ archives" off \ |
|
|
| 27 |
ACE "Support for ACE archives" off \ |
| 28 |
DEB "Support for DEB archives" off \ |
| 29 |
RAR "Support for RAR archives" off \ |
| 30 |
RPM "Support for RPM archives" off \ |
| 31 |
ZIP "Support for ZIP archives" off |
| 32 |
|
22 |
|
|
|
23 |
7ZIP_DESC=Support for 7zip archives |
| 24 |
ARJ_DESC=Support for ARJ archives |
| 25 |
ACE_DESC=Support for ACE archives |
| 26 |
DEB_DESC=Support for DEB archives |
| 27 |
RAR_DESC=Support for RAR archives |
| 28 |
RPM_DESC=Support for RPM archives |
| 29 |
ZIP_DESC=Support for ZIP archives |
| 30 |
|
| 33 |
.include <bsd.port.pre.mk> |
31 |
.include <bsd.port.pre.mk> |
| 34 |
|
32 |
|
| 35 |
.if defined (WITH_7ZIP) |
33 |
.if ${PORT_OPTIONS:M7ZIP} |
| 36 |
RUN_DEPENDS+= 7z:${PORTSDIR}/archivers/p7zip |
34 |
RUN_DEPENDS+= 7z:${PORTSDIR}/archivers/p7zip |
| 37 |
.endif |
35 |
.endif |
| 38 |
|
36 |
|
| 39 |
.if defined (WITH_ARJ) |
37 |
.if ${PORT_OPTIONS:MARJ} |
| 40 |
RUN_DEPENDS+= arj:${PORTSDIR}/archivers/arj |
38 |
RUN_DEPENDS+= arj:${PORTSDIR}/archivers/arj |
| 41 |
.endif |
39 |
.endif |
| 42 |
|
40 |
|
| 43 |
.if defined (WITH_ACE) |
41 |
.if ${PORT_OPTIONS:MACE} |
| 44 |
RUN_DEPENDS+= unace:${PORTSDIR}/archivers/unace |
42 |
RUN_DEPENDS+= unace:${PORTSDIR}/archivers/unace |
| 45 |
.endif |
43 |
.endif |
| 46 |
|
44 |
|
| 47 |
.if defined (WITH_DEB) |
45 |
.if ${PORT_OPTIONS:MDEB} |
| 48 |
RUN_DEPENDS+= dpkg-deb:${PORTSDIR}/archivers/dpkg |
46 |
RUN_DEPENDS+= dpkg-deb:${PORTSDIR}/archivers/dpkg |
| 49 |
.endif |
47 |
.endif |
| 50 |
|
48 |
|
| 51 |
.if defined (WITH_RAR) |
49 |
.if ${PORT_OPTIONS:MRAR} |
| 52 |
RUN_DEPENDS+= rar:${PORTSDIR}/archivers/rar \ |
50 |
RUN_DEPENDS+= rar:${PORTSDIR}/archivers/rar \ |
| 53 |
unrar:${PORTSDIR}/archivers/unrar |
51 |
unrar:${PORTSDIR}/archivers/unrar |
| 54 |
.endif |
52 |
.endif |
| 55 |
|
53 |
|
| 56 |
.if defined (WITH_RPM) |
54 |
.if ${PORT_OPTIONS:MRPM} |
| 57 |
RUN_DEPENDS+= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio \ |
55 |
RUN_DEPENDS+= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio \ |
| 58 |
rpm:${PORTSDIR}/archivers/rpm |
56 |
rpm:${PORTSDIR}/archivers/rpm |
| 59 |
.endif |
57 |
.endif |
| 60 |
|
58 |
|
| 61 |
.if defined (WITH_ZIP) |
59 |
.if ${PORT_OPTIONS:MZIP} |
| 62 |
RUN_DEPENDS+= zip:${PORTSDIR}/archivers/zip \ |
60 |
RUN_DEPENDS+= zip:${PORTSDIR}/archivers/zip \ |
| 63 |
unzip:${PORTSDIR}/archivers/unzip |
61 |
unzip:${PORTSDIR}/archivers/unzip |
| 64 |
.endif |
62 |
.endif |