535382b891
- Merge all SF mirrors to MASTER_SITE_SOURCEFORGE, resort according to quick download speed survey - Fix MASTER_SITES for all port that have used SOURCEFORGE_EXTENTED Approved by: portmgr (pav)
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
# New ports collection makefile for: aria2
|
|
# Date created: 1 May 2006
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= aria2
|
|
DISTVERSION= 1.5.0
|
|
CATEGORIES= www
|
|
MASTER_SITES= SF/${PORTNAME}/stable/archives/${PORTNAME}-${PORTVERSION}
|
|
DISTNAME= ${PORTNAME}-${DISTVERSION}
|
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
|
COMMENT= Yet another download tool
|
|
|
|
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} --with-openssl \
|
|
--with-libxml2 --without-gnutls --without-libares \
|
|
--without-libcares --program-transform-name=""
|
|
|
|
USE_BZIP2= yes
|
|
USE_GNOME= gnomehack libxml2
|
|
USE_GETTEXT= yes
|
|
GNU_CONFIGURE= yes
|
|
MAKE_JOBS_SAFE= yes
|
|
.ifdef WITHOUT_NLS
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
.else
|
|
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 \
|
|
sk sr th tr uk vi zh_CN zh_TW
|
|
.endif
|
|
PLIST_FILES= bin/aria2c \
|
|
${LINGUAS:S|^|share/locale/|:S|$|/LC_MESSAGES/aria2.mo|}
|
|
MAN1= aria2c.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 700000
|
|
BROKEN= Does not compile on FreeBSD 6.X
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^install-data-am:/s|install-dist_docDATA||'\
|
|
${WRKSRC}/Makefile.in ${WRKSRC}/doc/Makefile.in
|
|
|
|
post-configure:
|
|
@${REINPLACE_CMD} -e '/SETMODE/d' ${WRKSRC}/config.h
|
|
|
|
.include <bsd.port.post.mk>
|