aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/wxdfast/Makefile
blob: 98c0d3725d102fa46241dbac82df29a2c8e001c9 (plain) (blame)
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
# Created by: alepulver
# $FreeBSD$

PORTNAME=   wxdfast
PORTVERSION=    0.6.0
PORTREVISION=   9
CATEGORIES= ftp www
MASTER_SITES=   SF/dfast/wxDownload%20Fast/${PORTVERSION}
DISTNAME=   ${PORTNAME}_${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Multithread and multi-platform download manager

LICENSE=    GPLv2

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

USE_WX=     2.8+
WX_CONF_ARGS=   relative
WX_UNICODE= yes
USES=       autoreconf gettext libtool
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  WXRC="${WXRC_CMD}"
INSTALL_TARGET= install-strip

post-patch:
    @${REINPLACE_CMD} -e \
        's|pt_BR||' ${WRKSRC}/man/Makefile.am
    @${REINPLACE_CMD} -e \
        's|^CFLAGS |AM_CFLAGS | ; \
         s|^CXXFLAGS |AM_CXXFLAGS | ; \
         s|-O2 ||' ${WRKSRC}/src/Makefile.am

.include <bsd.port.mk>