Date: Fri, 8 Feb 2013 08:25:31 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311919 - head/ftp/wxdfast Message-ID: <201302080825.r188PVU2011718@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Fri Feb 8 08:25:31 2013 New Revision: 311919 URL: http://svnweb.freebsd.org/changeset/ports/311919 Log: - 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 Modified: head/ftp/wxdfast/Makefile (contents, props changed) Modified: head/ftp/wxdfast/Makefile ============================================================================== --- head/ftp/wxdfast/Makefile Fri Feb 8 08:24:18 2013 (r311918) +++ head/ftp/wxdfast/Makefile Fri Feb 8 08:25:31 2013 (r311919) @@ -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 - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 800000 && ${ARCH} == i386 -BROKEN= Does not compile -.endif + @${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.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302080825.r188PVU2011718>