45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.9 2005/05/11 17:23:55 pvalchev Exp $
|
|
|
|
BROKEN= "requires update due to ocaml 3.08"
|
|
|
|
COMMENT='e-donkey client'
|
|
CATEGORIES=net
|
|
|
|
MAINTAINER=Marc Espie <espie@openbsd.org>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
WANTLIB= X11 Xext Xi c glib gmodule iconv intl m z
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= --enable-ocamlver=3.07
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/config
|
|
|
|
HOMEPAGE=http://savannah.nongnu.org/projects/mldonkey/
|
|
|
|
MASTER_SITES=http://savannah.nongnu.org/download/mldonkey/
|
|
DISTNAME=mldonkey-2.5.22
|
|
WRKDIST=${WRKDIR}/mldonkey-2.5.22
|
|
|
|
USE_GMAKE=Yes
|
|
MODULES=lang/ocaml
|
|
BUILD_DEPENDS=::x11/lablgtk
|
|
LIB_DEPENDS=gdk.1,gtk.1::x11/gtk+
|
|
FAKE_FLAGS=prefix=${DESTDIR}${PREFIX} MODOCAML_NATIVE=${MODOCAML_NATIVE}
|
|
NO_REGRESS=Yes
|
|
|
|
post-install:
|
|
mkdir -p ${PREFIX}/share/mldonkey
|
|
cp -R ${WRKDIST}/distrib ${PREFIX}/share/mldonkey
|
|
@${strip_binaries}
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
.if ${MODOCAML_NATIVE:L} == "yes"
|
|
strip_binaries=cd ${PREFIX}/bin && strip mlnet mlgui mlnet+gui mlim
|
|
.else
|
|
strip_binaries=:
|
|
.endif
|