Lines 6-16
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= amule |
8 |
PORTNAME= amule |
9 |
PORTVERSION= 10275 |
9 |
PORTVERSION= 10300 |
10 |
CATEGORIES= net-p2p |
10 |
CATEGORIES= net-p2p |
11 |
MASTER_SITES= LOCAL/pav \ |
11 |
MASTER_SITES= http://amule.sourceforge.net/tarballs/ |
12 |
http://repo.or.cz/w/${PORTNAME}.git/snapshot/ |
12 |
DISTNAME= aMule-SVN-r${PORTVERSION} |
13 |
DISTNAME= ${PORTNAME}-svn-r${PORTVERSION} |
|
|
14 |
|
13 |
|
15 |
MAINTAINER= swell.k@gmail.com |
14 |
MAINTAINER= swell.k@gmail.com |
16 |
COMMENT= The all-platform eMule p2p client |
15 |
COMMENT= The all-platform eMule p2p client |
Lines 18-28
COMMENT= The all-platform eMule p2p clie
Link Here
|
18 |
BUILD_DEPENDS= ${FLEX}:${PORTSDIR}/textproc/flex \ |
17 |
BUILD_DEPENDS= ${FLEX}:${PORTSDIR}/textproc/flex \ |
19 |
${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp |
18 |
${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp |
20 |
|
19 |
|
21 |
LATEST_LINK= amule2 |
20 |
CONFLICTS= ed2k-hash-[0-9]* |
22 |
CONFLICTS= aMule-[0-9]* aMule-devel-[0-9]* ed2k-hash-[0-9]* |
|
|
23 |
|
24 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
25 |
|
21 |
|
|
|
22 |
USE_BZIP2= yes |
26 |
USE_GNOME= pkgconfig |
23 |
USE_GNOME= pkgconfig |
27 |
USE_GMAKE= yes |
24 |
USE_GMAKE= yes |
28 |
USE_KDE4= # empty |
25 |
USE_KDE4= # empty |
Lines 40-56
CPPFLAGS+= -I${LOCALBASE}/include
Link Here
|
40 |
CFLAGS+= ${PTHREAD_CFLAGS} |
37 |
CFLAGS+= ${PTHREAD_CFLAGS} |
41 |
LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib |
38 |
LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib |
42 |
|
39 |
|
43 |
OPTIONS= ALC "Compile aMule Link Creator (+GUI)" on \ |
40 |
OPTIONS= ALC "Compile aMule Link Creator for GUI" on \ |
|
|
41 |
ALCC "Compile aMule Link Creator for console" on \ |
44 |
AMULECMD "Compile aMule command line client" on \ |
42 |
AMULECMD "Compile aMule command line client" on \ |
45 |
AMULEDAEMON "Compile aMule daemon version" on \ |
43 |
AMULEDAEMON "Compile aMule daemon version" on \ |
46 |
AMULEGUI "Compile aMule remote GUI (EXPERIMENTAL)" on \ |
44 |
AMULEGUI "Compile aMule remote GUI (EXPERIMENTAL)" on \ |
47 |
CAS "Compile C aMule Statistics (+GUI)" on \ |
45 |
CAS "Compile aMule Statistics for console" on \ |
48 |
ED2K "Compile aMule ed2k links handler" on \ |
46 |
ED2K "Compile aMule ed2k links handler" on \ |
49 |
GEOIP "Enable GeoIP IP2Country support" off \ |
47 |
GEOIP "Enable GeoIP IP2Country support" off \ |
50 |
MMAP "Enable using mapped memory" off \ |
48 |
MMAP "Enable using mapped memory" off \ |
|
|
49 |
MONOLITHIC "Compile monolithic aMule" on \ |
51 |
PLASMAMULE "Compile aMule plasma applet and engine" off \ |
50 |
PLASMAMULE "Compile aMule plasma applet and engine" off \ |
52 |
UPNP "Enable Universal Plug and Play support" off \ |
51 |
UPNP "Enable Universal Plug and Play support" off \ |
53 |
WEBSERVER "Compile aMule WebServer" on \ |
52 |
WEBSERVER "Compile aMule WebServer" on \ |
|
|
53 |
WXCAS "Compile aMule Statistics for GUI" on \ |
54 |
WXUNICODE "Enable Unicode support" on \ |
54 |
WXUNICODE "Enable Unicode support" on \ |
55 |
XAS "Install XChat2 plugin" on |
55 |
XAS "Install XChat2 plugin" on |
56 |
|
56 |
|
Lines 76-88
PLIST_SUB+= NLS="@comment "
Link Here
|
76 |
.endif |
76 |
.endif |
77 |
|
77 |
|
78 |
.if !defined(WITHOUT_ALC) |
78 |
.if !defined(WITHOUT_ALC) |
79 |
CONFIGURE_ARGS+= --enable-alc --enable-alcc |
79 |
CONFIGURE_ARGS+= --enable-alc |
80 |
PLIST_SUB+= ALC="" |
80 |
PLIST_SUB+= ALC="" |
81 |
.else |
81 |
.else |
82 |
CONFIGURE_ARGS+= --disable-alc --disable-alcc |
82 |
CONFIGURE_ARGS+= --disable-alc |
83 |
PLIST_SUB+= ALC="@comment " |
83 |
PLIST_SUB+= ALC="@comment " |
84 |
.endif |
84 |
.endif |
85 |
|
85 |
|
|
|
86 |
.if !defined(WITHOUT_ALCC) |
87 |
CONFIGURE_ARGS+= --enable-alcc |
88 |
PLIST_SUB+= ALCC="" |
89 |
.else |
90 |
CONFIGURE_ARGS+= --disable-alcc |
91 |
PLIST_SUB+= ALCC="@comment " |
92 |
.endif |
93 |
|
86 |
.if !defined(WITHOUT_AMULECMD) |
94 |
.if !defined(WITHOUT_AMULECMD) |
87 |
CONFIGURE_ARGS+= --enable-amulecmd |
95 |
CONFIGURE_ARGS+= --enable-amulecmd |
88 |
PLIST_SUB+= AMULECMD="" |
96 |
PLIST_SUB+= AMULECMD="" |
Lines 109-119
PLIST_SUB+= AMULEGUI="@comment "
Link Here
|
109 |
.endif |
117 |
.endif |
110 |
|
118 |
|
111 |
.if !defined(WITHOUT_CAS) |
119 |
.if !defined(WITHOUT_CAS) |
112 |
CONFIGURE_ARGS+= --enable-cas --enable-wxcas |
120 |
CONFIGURE_ARGS+= --enable-cas |
113 |
LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd |
121 |
LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd |
114 |
PLIST_SUB+= CAS="" |
122 |
PLIST_SUB+= CAS="" |
115 |
.else |
123 |
.else |
116 |
CONFIGURE_ARGS+= --disable-cas --disable-wxcas |
124 |
CONFIGURE_ARGS+= --disable-cas |
117 |
PLIST_SUB+= CAS="@comment " |
125 |
PLIST_SUB+= CAS="@comment " |
118 |
.endif |
126 |
.endif |
119 |
|
127 |
|
Lines 138-143
CONFIGURE_ARGS+= --enable-mmap
Link Here
|
138 |
CONFIGURE_ARGS+= --disable-mmap |
146 |
CONFIGURE_ARGS+= --disable-mmap |
139 |
.endif |
147 |
.endif |
140 |
|
148 |
|
|
|
149 |
.if !defined(WITHOUT_MONOLITHIC) |
150 |
CONFIGURE_ARGS+= --enable-monolithic |
151 |
PLIST_SUB+= MONOLITHIC="" |
152 |
.else |
153 |
CONFIGURE_ARGS+= --disable-monolithic |
154 |
PLIST_SUB+= MONOLITHIC="@comment " |
155 |
.endif |
156 |
|
141 |
.if !defined(WITHOUT_PLASMAMULE) |
157 |
.if !defined(WITHOUT_PLASMAMULE) |
142 |
CONFIGURE_ENV+= ac_cv_path_KDE4_CONFIG=${KDE4_PREFIX}/bin/kde4-config |
158 |
CONFIGURE_ENV+= ac_cv_path_KDE4_CONFIG=${KDE4_PREFIX}/bin/kde4-config |
143 |
CONFIGURE_ARGS+= --enable-plasmamule |
159 |
CONFIGURE_ARGS+= --enable-plasmamule |
Lines 163-168
CONFIGURE_ARGS+= --disable-webserver
Link Here
|
163 |
PLIST_SUB+= WEBSERVER="@comment " |
179 |
PLIST_SUB+= WEBSERVER="@comment " |
164 |
.endif |
180 |
.endif |
165 |
|
181 |
|
|
|
182 |
.if !defined(WITHOUT_WXCAS) |
183 |
CONFIGURE_ARGS+= --enable-wxcas |
184 |
PLIST_SUB+= WXCAS="" |
185 |
.else |
186 |
CONFIGURE_ARGS+= --disable-wxcas |
187 |
PLIST_SUB+= WXCAS="@comment " |
188 |
.endif |
189 |
|
166 |
.if !defined(WITHOUT_WXUNICODE) |
190 |
.if !defined(WITHOUT_WXUNICODE) |
167 |
WX_UNICODE= yes |
191 |
WX_UNICODE= yes |
168 |
.endif |
192 |
.endif |
Lines 183-189
post-patch: .SILENT
Link Here
|
183 |
-e 's/test.*-print-file-name.*`/true/' \ |
207 |
-e 's/test.*-print-file-name.*`/true/' \ |
184 |
${WRKSRC}/configure |
208 |
${WRKSRC}/configure |
185 |
.if defined(NOPORTDOCS) |
209 |
.if defined(NOPORTDOCS) |
186 |
${REINPLACE_CMD} 's/install-data-am:.*/install-data-am:/' ${WRKSRC}/docs/Makefile.in |
210 |
${REINPLACE_CMD} 's/install-data-am:.*/install-data-am:/' \ |
|
|
211 |
${WRKSRC}/docs/Makefile.in |
187 |
.endif |
212 |
.endif |
188 |
.if !defined(WITHOUT_PLASMAMULE) |
213 |
.if !defined(WITHOUT_PLASMAMULE) |
189 |
${REINPLACE_CMD} -e 's|@prefix@|${KDE4_PREFIX}|' \ |
214 |
${REINPLACE_CMD} -e 's|@prefix@|${KDE4_PREFIX}|' \ |