d70523df21
Shared directories can now be created independently by the pacakges needing them and will be removed automatically by pkg_delete when empty. Packages needing empty directories can use the @pkgdir command in PLIST. Discussed and ok'd in thread starting at http://mail-index.netbsd.org/tech-pkg/2009/06/30/msg003546.html
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.39 2009/07/22 09:01:40 wiz Exp $
|
|
|
|
DISTNAME= aMule-2.2.5
|
|
PKGNAME= ${DISTNAME:S/aMule/amule/}
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=amule/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= tripledes@eslack.org
|
|
HOMEPAGE= http://www.amule.org/
|
|
COMMENT= Another Emule P2P client
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
CONFLICTS= xmule-[0-9]*
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= gmake intltool msgfmt pkg-config perl:run
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-wx-config=${BUILDLINK_PREFIX.wxGTK28}/bin/wx-config
|
|
CONFIGURE_ARGS+= --with-crypto-prefix=${BUILDLINK_PREFIX.cryptopp}
|
|
CONFIGURE_ARGS+= --with-language=all
|
|
|
|
.include "options.mk"
|
|
|
|
REPLACE_PERL= src/libs/ec/file_generator.pl \
|
|
src/utils/scripts/kadnodescreate.pl \
|
|
src/utils/scripts/stats.pl \
|
|
src/utils/scripts/mldonkey_importer.pl \
|
|
src/utils/xas/xas.pl
|
|
|
|
LIBS+= -lm # for pow(3)
|
|
|
|
UNLIMIT_RESOURCES+= datasize
|
|
|
|
TEST_TARGET= check
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../security/crypto++/buildlink3.mk"
|
|
.include "../../x11/wxGTK28/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|