393a10fbcf
Fix memory leak when AICH hashing already known files (upstream git commit 9e62350fae9f24de64987a0cb002fdc15b5fa9af) Like FAT, NTFS doesn't like special characters either (upstream git commit 41113ecf15019301afea6cb35d9c35a7b8a0bdd1)
112 lines
2.6 KiB
Makefile
112 lines
2.6 KiB
Makefile
# $OpenBSD: Makefile,v 1.36 2012/10/25 07:59:45 dcoppa Exp $
|
|
|
|
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.1
|
|
DISTNAME = aMule-$V
|
|
REVISION = 9
|
|
CATEGORIES = net
|
|
|
|
HOMEPAGE = http://www.amule.org/
|
|
|
|
MULTI_PACKAGES =-main -web -daemon
|
|
|
|
PKGNAME-main = amule-$V
|
|
PKGNAME-daemon =amuled-$V
|
|
PKGNAME-web = amuleweb-$V
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MAINTAINER = Marc Espie <espie@openbsd.org>
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=amule/}
|
|
EXTRACT_SUFX = .tar.xz
|
|
|
|
.if defined (SUBPACKAGE) && ${SUBPACKAGE:M-main}
|
|
MODULES += converters/libiconv
|
|
.endif
|
|
|
|
LIB_DEPENDS =
|
|
WANTLIB =
|
|
RUN_DEPENDS =
|
|
|
|
BUILD_DEPENDS = devel/flex \
|
|
devel/gettext
|
|
|
|
commonLIB_DEPENDS = x11/wxWidgets>=2.8.12 \
|
|
net/libupnp>=1.6.6
|
|
|
|
LIB_DEPENDS-main = ${LIB_DEPENDS} ${commonLIB_DEPENDS} \
|
|
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}
|
|
|
|
RUN_DEPENDS-main = ${RUN_DEPENDS} \
|
|
devel/desktop-file-utils
|
|
|
|
commonWANTLIB = c ixml m pthread stdc++ threadutil upnp \
|
|
wx_base wx_base_net z
|
|
WANTLIB-main = ${WANTLIB} ${commonWANTLIB} \
|
|
GeoIP X11 cryptopp fontconfig \
|
|
freetype gd jpeg png wx_gtk2_adv wx_gtk2_core
|
|
WANTLIB-daemon = ${WANTLIB} ${commonWANTLIB} \
|
|
cryptopp readline termcap
|
|
WANTLIB-web = ${WANTLIB} ${commonWANTLIB} \
|
|
png readline termcap
|
|
|
|
USE_GMAKE = Yes
|
|
USE_GROFF = 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}" \
|
|
ac_cv_prog_LEX="${LOCALBASE}/bin/gflex"
|
|
|
|
MAKE_FLAGS += CXXFLAGS="${CXXFLAGS} -Wno-deprecated \
|
|
-Wno-sign-compare -Wno-unused"
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/src/utils/cas/configfile.c
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKDIST}/src/utils/scripts/mldonkey_importer.pl \
|
|
${PREFIX}/bin/mldonkey_importer
|
|
|
|
.include <bsd.port.mk>
|