1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/www/aria2/Makefile

47 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: aria2
# Date created: 1 May 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= aria2
2008-04-16 05:02:38 +00:00
DISTVERSION= 0.13.1+2
PORTREVISION= 1
CATEGORIES= www
2006-10-01 16:34:17 +00:00
MASTER_SITES= SFE
2008-03-02 09:57:08 +00:00
DISTNAME= ${PORTNAME}c-${DISTVERSION}
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Yet another download tool
2006-12-03 14:51:26 +00:00
#CPPFLAGS= -g
#DONTSTRIP= yes
#CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}"
#MAKE_ENV= DONTSTRIP=
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
.ifdef WITHOUT_NLS
CONFIGURE_ARGS+= --disable-nls
.else
2008-03-16 19:48:41 +00:00
LINGUAS= ca de es fi fr he hu id it ja nl nn pl pt_BR ru sv th zh_CN
.endif
PLIST_FILES= bin/aria2c \
2007-12-11 21:49:49 +00:00
${LINGUAS:S|^|share/locale/|:S|$|/LC_MESSAGES/aria2c.mo|}
2006-10-01 16:34:17 +00:00
MAN1= aria2c.1
2008-03-02 09:57:08 +00:00
post-patch:
@${REINPLACE_CMD} -e '/^install-data-am:/s|install-dist_docDATA||'\
${WRKSRC}/Makefile.in ${WRKSRC}/doc/Makefile.in
2007-08-09 17:09:01 +00:00
post-configure:
@${REINPLACE_CMD} -e '/SETMODE/d' ${WRKSRC}/config.h
.include <bsd.port.mk>