58 lines
1.4 KiB
Makefile
58 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.20 2010/11/19 22:31:32 espie Exp $
|
|
|
|
COMMENT-main = another eMule p2p client
|
|
COMMENT-web = webserver interface to amuled
|
|
COMMENT-daemon =stand-alone daemon/cmdline for amule
|
|
|
|
V = 2.1.3
|
|
DISTNAME = aMule-$V
|
|
CATEGORIES = net
|
|
|
|
HOMEPAGE = http://www.amule.org/
|
|
MULTI_PACKAGES =-main -web -daemon
|
|
REVISION-main = 5
|
|
PKGNAME-main = amule-$V
|
|
PKGNAME-daemon =amuled-$V
|
|
PKGNAME-web = amuleweb-$V
|
|
|
|
# GPL
|
|
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.bz2
|
|
|
|
RUN_DEPENDS-main=${RUN_DEPENDS} \
|
|
devel/desktop-file-utils
|
|
|
|
LIB_DEPENDS = x11/wxWidgets>=2.6.3
|
|
WANTLIB = c m pthread z stdc++ wx_base_net wx_base
|
|
|
|
USE_GMAKE = Yes
|
|
USE_GROFF = Yes
|
|
|
|
WANTLIB-main = ${WANTLIB} X11 pthread-stubs wx_gtk2_adv wx_gtk2_core xcb
|
|
WANTLIB-daemon =${WANTLIB} readline termcap
|
|
WANTLIB-web = ${WANTLIB} png readline termcap
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS = --disable-debug \
|
|
--with-x \
|
|
--enable-amule-daemon \
|
|
--enable-amulecmd \
|
|
--enable-webserver \
|
|
--enable-amule-gui
|
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKDIST}/src/utils/scripts/mldonkey_importer.pl \
|
|
${PREFIX}/bin/mldonkey_importer
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
.include <bsd.port.mk>
|