# New ports collection makefile for: multiget # Date created: 2006-11-03 # Whom: alepulver # # $FreeBSD$ # PORTNAME= multiget PORTVERSION= 1.1 CATEGORIES= ftp www MASTER_SITES= SF MAINTAINER= alepulver@FreeBSD.org COMMENT= An http/ftp downloader with a nice GUI USE_WX= 2.6 MAKEFILE= makefile ALL_TARGET= MultiGet WRKSRC= ${WRKDIR}/${DISTNAME}/src PLIST_FILES= bin/${PORTNAME} post-patch: @${REINPLACE_CMD} -e \ 's|g++|${CXX}|; \ s|\(CFLAGS\) =|\1 +=|; \ s|wx-config|${WX_CONFIG}|' \ ${WRKSRC}/${MAKEFILE} # @${REINPLACE_CMD} -Ee 's,(fopen|ftruncate)64,\1,' \ # ${WRKSRC}/mgfilemanager.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/MultiGet ${PREFIX}/bin/${PORTNAME} .include .if ${OSVERSION} < 500000 IGNORE= does not build .endif .include