diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-12-07 18:01:00 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-12-07 18:01:00 +0000 |
commit | c6d1ed1b5828cebab6fb6ed8289e15efd863629e (patch) | |
tree | 052d15949122a9fc44a3777b744e4ec1379d22a4 /ftp/multiget/Makefile | |
parent | 28fe8e4844ed5a9a6fefc6300af7ccb0d9488ad2 (diff) |
Notes
Diffstat (limited to 'ftp/multiget/Makefile')
-rw-r--r-- | ftp/multiget/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/ftp/multiget/Makefile b/ftp/multiget/Makefile new file mode 100644 index 000000000000..1a96930b62df --- /dev/null +++ b/ftp/multiget/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: multiget +# Date created: 2006-11-03 +# Whom: alepulver +# +# $FreeBSD$ +# + +PORTNAME= multiget +PORTVERSION= 1.0 +CATEGORIES= ftp www +MASTER_SITES= SF +DISTNAME= ${PORTNAME}${PORTVERSION}.src + +MAINTAINER= alepulver@FreeBSD.org +COMMENT= An http/ftp downloader with a nice GUI + +USE_BZIP2= yes +USE_WX= 2.6 +MAKEFILE= makefile +ALL_TARGET= MultiGet +WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/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 <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +IGNORE= does not build +.endif + +.include <bsd.port.post.mk> |