111 lines
2.6 KiB
Plaintext
111 lines
2.6 KiB
Plaintext
COMMENT-main = another eDonkey P2P file sharing client
|
|
COMMENT-web = webserver interface to amuled
|
|
COMMENT-daemon =stand-alone daemon/cmdline for amule
|
|
|
|
V = 2.3.2
|
|
DISTNAME = aMule-$V
|
|
REVISION = 7
|
|
CATEGORIES = net
|
|
|
|
HOMEPAGE = http://www.amule.org/
|
|
|
|
MULTI_PACKAGES =-main -web -daemon
|
|
|
|
PKGNAME-main = amule-$V
|
|
PKGNAME-daemon =amuled-$V
|
|
PKGNAME-web = amuleweb-$V
|
|
REVISION-main = 8
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MAINTAINER = David Coppa <dcoppa@openbsd.org>
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=amule/}
|
|
EXTRACT_SUFX = .tar.xz
|
|
|
|
LIB_DEPENDS =
|
|
WANTLIB =
|
|
RUN_DEPENDS =
|
|
|
|
# bison needed if .y files are patched
|
|
BUILD_DEPENDS = devel/bison \
|
|
devel/gettext-tools
|
|
|
|
commonLIB_DEPENDS = x11/wxWidgets>=2.8.12 \
|
|
net/libupnp>=1.6.6
|
|
|
|
LIB_DEPENDS-main = ${LIB_DEPENDS} ${commonLIB_DEPENDS} \
|
|
converters/libiconv \
|
|
devel/cryptopp>=5.6.0 \
|
|
graphics/gd \
|
|
net/GeoIP
|
|
|
|
LIB_DEPENDS-daemon = ${LIB_DEPENDS} ${commonLIB_DEPENDS} \
|
|
devel/cryptopp>=5.6.0
|
|
|
|
LIB_DEPENDS-web = ${LIB_DEPENDS} ${commonLIB_DEPENDS} \
|
|
devel/gettext
|
|
|
|
RUN_DEPENDS-main = ${RUN_DEPENDS} \
|
|
devel/desktop-file-utils
|
|
|
|
commonWANTLIB = c ixml m pthread ${COMPILER_LIBCXX} threadutil upnp \
|
|
wx_base wx_base_net z
|
|
WANTLIB-main = ${WANTLIB} ${commonWANTLIB} \
|
|
GeoIP X11 cryptopp fontconfig tiff webp \
|
|
freetype gd iconv jpeg png wx_gtk2_adv wx_gtk2_core
|
|
WANTLIB-daemon = ${WANTLIB} ${commonWANTLIB} \
|
|
cryptopp readline termcap
|
|
WANTLIB-web = ${WANTLIB} ${commonWANTLIB} \
|
|
iconv intl png readline termcap
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
CONFIGURE_STYLE = autoconf
|
|
AUTOCONF_VERSION = 2.65
|
|
|
|
CONFIGURE_ARGS = --disable-optimize \
|
|
--disable-profile \
|
|
--disable-plasmamule \
|
|
--disable-xas \
|
|
--enable-alc \
|
|
--enable-alcc \
|
|
--enable-amule-daemon \
|
|
--enable-amule-gui \
|
|
--enable-amulecmd \
|
|
--enable-cas \
|
|
--enable-geoip \
|
|
--enable-webserver \
|
|
--enable-wxcas \
|
|
--with-denoise-level=0 \
|
|
--with-libiconv-prefix=${LOCALBASE} \
|
|
--with-libpng-config=${LOCALBASE}/bin/libpng-config
|
|
|
|
.ifndef DEBUG
|
|
CONFIGURE_ARGS += --disable-debug
|
|
.else
|
|
CONFIGURE_ARGS += --enable-debug
|
|
.endif
|
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
LOCALDIR="${LOCALBASE}" \
|
|
X11R6DIR="${X11BASE}"
|
|
|
|
MAKE_FLAGS += CXXFLAGS="${CXXFLAGS} -Wno-deprecated \
|
|
-Wno-shadow -Wno-sign-compare \
|
|
-Wno-unused"
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/src/utils/cas/configfile.c
|
|
rm ${WRKSRC}/docs/man/a*.*.1 \
|
|
${WRKSRC}/docs/man/e*.*.1 \
|
|
${WRKSRC}/src/utils/*/docs/a*.*.1 \
|
|
${WRKSRC}/src/utils/*/docs/c*.*.1 \
|
|
${WRKSRC}/src/utils/*/docs/w*.*.1
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKDIST}/src/utils/scripts/mldonkey_importer.pl \
|
|
${PREFIX}/bin/mldonkey_importer
|
|
|
|
.include <bsd.port.mk>
|