blob: b8a081515febffd563757671977877450ec53524 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# New ports collection makefile for: aria2
# Date created: 1 May 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= aria2
DISTVERSION= 0.13.1+2
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= SFE
DISTNAME= ${PORTNAME}c-${DISTVERSION}
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Yet another download tool
#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
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 \
${LINGUAS:S|^|share/locale/|:S|$|/LC_MESSAGES/aria2c.mo|}
MAN1= aria2c.1
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.mk>
|