- Support CFLAGS/CXXFLAGS properly

- Fix build on 8-stable or later
- Fix build with wxWidgets 2.8
- Add LICENSE
- Add MAKE_JOBS_SAFE
- Trim header
PR:		175568
Submitted by:	Ports Fury
This commit is contained in:
Martin Wilke 2013-02-08 08:25:31 +00:00
parent 3281c9daf4
commit ca44be1912
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311919

View File

@ -1,38 +1,39 @@
# New ports collection makefile for: wxdfast
# Date created: 2006-11-07
# Whom: alepulver
#
# Created by: alepulver
# $FreeBSD$
#
PORTNAME= wxdfast
PORTVERSION= 0.6.0
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= ftp www
MASTER_SITES= SF/dfast/wxDownload%20Fast/${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A great multithreaded and multi-platform download manager
COMMENT= Multithread and multi-platform download manager
USE_GETTEXT= yes
USE_WX= 2.6
LICENSE= GPLv2
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_WX= 2.6+
WX_CONF_ARGS= relative
WX_UNICODE= yes
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GETTEXT= yes
USE_AUTOTOOLS= aclocal automake autoconf libtoolize
ACLOCAL_ARGS= -I ${LOCALBASE}/share/locale
AUTOMAKE_ARGS= --add-missing --copy --force-missing --foreign
LIBTOOLIZE_ARGS=--copy --force
CONFIGURE_ENV= WXRC="${WXRC_CMD}"
MAKE_JOBS_SAFE= yes
MAN1= wxdfast.1
post-patch:
@${REINPLACE_CMD} -e 's|wxrc|${WXRC_CMD:T}|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's|pt_BR||' ${WRKSRC}/man/Makefile.in
@${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.pre.mk>
.if ${OSVERSION} >= 800000 && ${ARCH} == i386
BROKEN= Does not compile
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>