Lines 33-40
Link Here
|
33 |
# |
33 |
# |
34 |
|
34 |
|
35 |
PORTNAME= gtk-gnutella |
35 |
PORTNAME= gtk-gnutella |
36 |
PORTVERSION= 1.0.1 |
36 |
PORTVERSION= 1.1.0 |
37 |
PORTREVISION= 1 |
|
|
38 |
CATEGORIES= net-p2p ipv6 |
37 |
CATEGORIES= net-p2p ipv6 |
39 |
MASTER_SITES= SF |
38 |
MASTER_SITES= SF |
40 |
|
39 |
|
Lines 43-66
Link Here
|
43 |
|
42 |
|
44 |
LICENSE= GPLv2 # (or later) |
43 |
LICENSE= GPLv2 # (or later) |
45 |
|
44 |
|
46 |
OPTIONS_DEFINE= GUI TLS NLS IPV6 DBUS DEBUG PORTABILITY |
|
|
47 |
OPTIONS_DEFAULT=GUI TLS |
48 |
OPTIONS_SUB= yes |
49 |
PORTABILITY_DESC= Use the PATH variable at run-time |
50 |
|
51 |
ONLY_FOR_ARCHS= i386 amd64 |
52 |
|
53 |
USES= iconv perl5 pkgconfig tar:bzip2 |
45 |
USES= iconv perl5 pkgconfig tar:bzip2 |
54 |
USE_GNOME= glib20 libxml2 |
46 |
USE_GNOME= glib20 libxml2 |
55 |
HAS_CONFIGURE= yes |
47 |
HAS_CONFIGURE= yes |
56 |
CONFIGURE_SCRIPT= Configure |
48 |
CONFIGURE_SCRIPT= Configure |
57 |
CONFIGURE_ARGS= -O -Dyacc='byacc' \ |
49 |
CONFIGURE_ARGS= -O -Dyacc='byacc' \ |
58 |
-Dprefix=${STAGEDIR}${PREFIX} \ |
50 |
-Dprefix='${PREFIX}' \ |
59 |
-Dprivlib=${STAGEDIR}${DATADIR} \ |
51 |
-Dprivlib='${DATADIR}' \ |
60 |
-Dmansrc=${STAGEDIR}${MANPREFIX}/man/man1 \ |
52 |
-Dmansrc='${MANPREFIX}/man/man1' \ |
61 |
-Dlocale=${PREFIX}/share/locale \ |
53 |
-Dlocale='${PREFIX}/share/locale' \ |
62 |
-Dcc='${CC}' -Doptimize='${CFLAGS}' \ |
54 |
-Dcc='${CC}' -Doptimize='${CFLAGS}' \ |
63 |
-Dccflags='${CPPFLAGS}' -Dldflags='${LDFLAGS}' |
55 |
-Dccflags='${CPPFLAGS}' -Dldflags='${LDFLAGS}' |
|
|
56 |
MAKE_ARGS= INSTALL_PREFIX="${STAGEDIR}" |
64 |
INSTALL_TARGET= install install.man |
57 |
INSTALL_TARGET= install install.man |
65 |
MAKE_JOBS_UNSAFE= yes |
58 |
MAKE_JOBS_UNSAFE= yes |
66 |
|
59 |
|
Lines 69-115
Link Here
|
69 |
|
62 |
|
70 |
PLIST_SUB= ARCH="${ARCH}" OPSYS="${OPSYS:tl}" |
63 |
PLIST_SUB= ARCH="${ARCH}" OPSYS="${OPSYS:tl}" |
71 |
|
64 |
|
|
|
65 |
ONLY_FOR_ARCHS= i386 amd64 |
66 |
|
67 |
OPTIONS_DEFINE= DBUS DEBUG GUI IPV6 NLS PORTABILITY TLS |
68 |
OPTIONS_DEFAULT= GUI TLS |
69 |
OPTIONS_SUB= yes |
70 |
|
71 |
DBUS_LIB_DEPENDS= libdbus.so:${PORTSDIR}/devel/dbus |
72 |
DBUS_CONFIGURE_OFF= -Ud_dbus |
73 |
DEBUG_CONFIGURE_ON= -Ud_official |
74 |
GUI_USE= gnome=gtk20 |
75 |
GUI_CONFIGURE_OFF= -Dd_headless |
76 |
IPV6_CONFIGURE_OFF= -Ud_ipv6 |
77 |
NLS_USES= gettext |
78 |
NLS_CONFIGURE_OFF= -Ud_nls |
79 |
PORTABILITY_DESC= Use the PATH variable at run-time |
80 |
PORTABILITY_CONFIGURE_ON= -Dd_portable |
81 |
TLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls |
82 |
TLS_CONFIGURE_OFF= -Ud_gnutls |
83 |
|
72 |
.include <bsd.port.options.mk> |
84 |
.include <bsd.port.options.mk> |
73 |
|
85 |
|
74 |
.if !defined(INTERACTIVE_CONFIGURE) |
86 |
.if !defined(INTERACTIVE_CONFIGURE) |
75 |
CONFIGURE_ARGS+= -ders |
87 |
CONFIGURE_ARGS+= -ders |
76 |
.endif |
88 |
.endif |
77 |
|
89 |
|
78 |
.if ${PORT_OPTIONS:MDEBUG} |
|
|
79 |
CONFIGURE_ARGS+= -Ud_official |
80 |
.endif |
81 |
|
82 |
.if ${PORT_OPTIONS:MGUI} |
90 |
.if ${PORT_OPTIONS:MGUI} |
83 |
USE_GNOME+= gtk20 |
|
|
84 |
INSTALLS_ICONS= yes |
91 |
INSTALLS_ICONS= yes |
85 |
.else |
|
|
86 |
CONFIGURE_ARGS+= -Dd_headless |
87 |
.endif |
88 |
|
89 |
.if ${PORT_OPTIONS:MPORTABILITY} |
90 |
CONFIGURE_ARGS+= -Dd_portable |
91 |
.endif |
92 |
|
93 |
.if ${PORT_OPTIONS:MTLS} |
94 |
LIB_DEPENDS+= libgnutls.so:${PORTSDIR}/security/gnutls |
95 |
.else |
96 |
CONFIGURE_ARGS+= -Ud_gnutls |
97 |
.endif |
98 |
|
99 |
.if ${PORT_OPTIONS:MNLS} |
100 |
USES+= gettext |
101 |
.else |
102 |
CONFIGURE_ARGS+= -Ud_nls |
103 |
.endif |
104 |
|
105 |
.if empty(PORT_OPTIONS:MIPV6) |
106 |
CONFIGURE_ARGS+= -Ud_ipv6 |
107 |
.endif |
108 |
|
109 |
.if ${PORT_OPTIONS:MDBUS} |
110 |
LIB_DEPENDS+= libdbus.so:${PORTSDIR}/devel/dbus |
111 |
.else |
112 |
CONFIGURE_ARGS+= -Ud_dbus |
113 |
.endif |
92 |
.endif |
114 |
|
93 |
|
115 |
post-patch: |
94 |
post-patch: |