2006-05-01 18:39:52 +02:00
|
|
|
# New ports collection makefile for: aria2
|
|
|
|
# Date created: 1 May 2006
|
2006-05-08 23:41:11 +02:00
|
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
2006-05-01 18:39:52 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= aria2
|
2009-03-20 23:09:02 +01:00
|
|
|
DISTVERSION= 1.2.0
|
2006-05-01 18:39:52 +02:00
|
|
|
CATEGORIES= www
|
2006-10-01 18:34:17 +02:00
|
|
|
MASTER_SITES= SFE
|
2009-03-20 23:09:02 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${DISTVERSION}
|
2006-05-01 18:39:52 +02:00
|
|
|
|
2008-09-07 13:16:37 +02:00
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
2006-05-01 18:39:52 +02:00
|
|
|
COMMENT= Yet another download tool
|
|
|
|
|
2007-07-23 11:36:51 +02:00
|
|
|
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} --with-openssl \
|
2007-12-14 21:15:35 +01:00
|
|
|
--with-libxml2 --without-gnutls --without-libares \
|
|
|
|
--without-libcares --program-transform-name=""
|
2006-05-01 18:39:52 +02:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2006-07-05 08:58:58 +02:00
|
|
|
USE_GNOME= gnomehack libxml2
|
2006-05-01 18:39:52 +02:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2009-03-25 16:04:08 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2007-12-14 21:15:35 +01:00
|
|
|
.ifdef WITHOUT_NLS
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
.else
|
2008-10-24 14:40:11 +02:00
|
|
|
LINGUAS= bg ca da de es en@boldquot en@quot el fi fr he hu id it ja nl nn pl pt_BR ru sv \
|
|
|
|
sr th tr uk vi zh_CN zh_TW
|
2007-12-14 21:15:35 +01:00
|
|
|
.endif
|
2006-05-27 11:22:57 +02:00
|
|
|
PLIST_FILES= bin/aria2c \
|
2009-03-20 23:09:02 +01:00
|
|
|
${LINGUAS:S|^|share/locale/|:S|$|/LC_MESSAGES/aria2.mo|}
|
2006-10-01 18:34:17 +02:00
|
|
|
MAN1= aria2c.1
|
2006-05-27 11:22:57 +02:00
|
|
|
|
2008-10-24 14:40:11 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 700000
|
|
|
|
BROKEN= Does not compile on FreeBSD 6.X
|
|
|
|
.endif
|
|
|
|
|
2008-03-02 10:57:08 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/^install-data-am:/s|install-dist_docDATA||'\
|
|
|
|
${WRKSRC}/Makefile.in ${WRKSRC}/doc/Makefile.in
|
|
|
|
|
2007-08-09 19:09:01 +02:00
|
|
|
post-configure:
|
|
|
|
@${REINPLACE_CMD} -e '/SETMODE/d' ${WRKSRC}/config.h
|
|
|
|
|
2008-10-24 14:40:11 +02:00
|
|
|
.include <bsd.port.post.mk>
|