diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-12-25 19:13:34 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-12-25 19:13:34 +0000 |
commit | e9388e125e896351b3fe1730f81eedf3cfb8ee30 (patch) | |
tree | a087cc508cc90b07450147ae0526cb3fe8fad183 /net/mldonkey/Makefile.common | |
parent | 0a6f42ca41df29fed17076b97d37f2af22f60686 (diff) | |
download | pkgsrc-e9388e125e896351b3fe1730f81eedf3cfb8ee30.tar.gz |
Change this package to only install mldonkey's core program and add a rc.d
script to ease its startup as an unprivileged user. While here, split the
Makefile to help the forthcoming mldonkey-gui package.
This makes it very easy to run mldonkey on a dedicated server w/o X11.
Furthermore, this approach is similar to what other systems do (like Gentoo).
Bump PKGREVISION to 3. Ok'ed by wiz@, the maintainer.
Diffstat (limited to 'net/mldonkey/Makefile.common')
-rw-r--r-- | net/mldonkey/Makefile.common | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/net/mldonkey/Makefile.common b/net/mldonkey/Makefile.common new file mode 100644 index 00000000000..4945dfb4019 --- /dev/null +++ b/net/mldonkey/Makefile.common @@ -0,0 +1,34 @@ +# $NetBSD: Makefile.common,v 1.1 2004/12/25 19:13:34 jmmv Exp $ +# + +DISTNAME= mldonkey-2.5.21 +CATEGORIES= net +MASTER_SITES= http://savannah.nongnu.org/download/mldonkey/ + +MAINTAINER= wiz@NetBSD.org +HOMEPAGE= http://www.nongnu.org/mldonkey/ +COMMENT= Free peer-to-peer client with eDonkey support and more + +DISTINFO_FILE= ${.CURDIR}/../../net/mldonkey/distinfo +PATCHDIR= ${.CURDIR}/../../net/mldonkey/patches + +GNU_CONFIGURE= yes +USE_BUILDLINK3= yes +USE_GNU_TOOLS+= make +USE_PERL5= build + +CONFIGURE_ENV+= WGET="" +CONFIGURE_ENV+= ac_cv_prog_WGET="no" +MAKE_ENV+= BUILDLINK_PREFIX.pthread=${BUILDLINK_PREFIX.pthread} +CONFIGURE_ARGS+= --enable-pthread-lib + +UNLIMIT_RESOURCES= stacksize + +PRINT_PLIST_AWK+= /^@dirrm libexec\/mldonkey$$/ \ + { print "@unexec $${RMDIR} %D/libexec/mldonkey"\ + " >/dev/null 2>&1 || $${TRUE}"; next } + +.include "../../archivers/bzip2/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../lang/ocaml/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" |