head	1.27;
access;
symbols
	RELEASE_8_3_0:1.25
	RELEASE_9_0_0:1.25
	RELEASE_7_4_0:1.23
	RELEASE_8_2_0:1.23
	RELEASE_6_EOL:1.23
	RELEASE_8_1_0:1.23
	RELEASE_7_3_0:1.22
	RELEASE_8_0_0:1.22
	RELEASE_7_2_0:1.20
	RELEASE_7_1_0:1.19
	RELEASE_6_4_0:1.19
	RELEASE_5_EOL:1.16
	RELEASE_7_0_0:1.13
	RELEASE_6_3_0:1.13
	PRE_XORG_7:1.13
	RELEASE_4_EOL:1.13
	RELEASE_6_2_0:1.13
	RELEASE_6_1_0:1.13
	RELEASE_5_5_0:1.13
	RELEASE_6_0_0:1.13
	RELEASE_5_4_0:1.11
	RELEASE_4_11_0:1.11
	RELEASE_5_3_0:1.7
	RELEASE_4_10_0:1.4;
locks; strict;
comment	@# @;


1.27
date	2013.02.05.16.54.22;	author svnexp;	state Exp;
branches;
next	1.26;

1.26
date	2012.11.17.05.57.31;	author svnexp;	state Exp;
branches;
next	1.25;

1.25
date	2011.09.23.22.22.32;	author amdmi3;	state Exp;
branches;
next	1.24;

1.24
date	2011.06.05.18.43.05;	author novel;	state Exp;
branches;
next	1.23;

1.23
date	2010.05.31.01.58.53;	author ade;	state Exp;
branches;
next	1.22;

1.22
date	2009.09.01.12.47.35;	author amdmi3;	state Exp;
branches;
next	1.21;

1.21
date	2009.08.16.18.04.39;	author novel;	state Exp;
branches;
next	1.20;

1.20
date	2008.12.17.16.16.50;	author pav;	state Exp;
branches;
next	1.19;

1.19
date	2008.08.21.06.17.02;	author rafan;	state Exp;
branches;
next	1.18;

1.18
date	2008.08.20.00.56.42;	author ade;	state Exp;
branches;
next	1.17;

1.17
date	2008.06.06.13.28.21;	author edwin;	state Exp;
branches;
next	1.16;

1.16
date	2008.03.03.11.57.07;	author novel;	state Exp;
branches;
next	1.15;

1.15
date	2008.01.26.01.51.31;	author beech;	state Exp;
branches;
next	1.14;

1.14
date	2008.01.22.17.29.58;	author beech;	state Exp;
branches;
next	1.13;

1.13
date	2005.04.12.03.25.29;	author obrien;	state Exp;
branches;
next	1.12;

1.12
date	2005.04.11.08.02.17;	author obrien;	state Exp;
branches;
next	1.11;

1.11
date	2005.01.03.09.45.09;	author krion;	state Exp;
branches;
next	1.10;

1.10
date	2004.12.18.07.16.25;	author edwin;	state Exp;
branches;
next	1.9;

1.9
date	2004.11.18.08.10.51;	author kris;	state Exp;
branches;
next	1.8;

1.8
date	2004.10.12.09.37.27;	author krion;	state Exp;
branches;
next	1.7;

1.7
date	2004.09.02.19.29.35;	author arved;	state Exp;
branches;
next	1.6;

1.6
date	2004.07.10.11.43.30;	author edwin;	state Exp;
branches;
next	1.5;

1.5
date	2004.07.08.08.02.10;	author edwin;	state Exp;
branches;
next	1.4;

1.4
date	2004.03.08.19.37.44;	author krion;	state Exp;
branches;
next	1.3;

1.3
date	2004.03.06.11.13.41;	author kris;	state Exp;
branches;
next	1.2;

1.2
date	2004.01.12.09.13.52;	author krion;	state Exp;
branches;
next	1.1;

1.1
date	2003.12.08.10.13.10;	author krion;	state Exp;
branches;
next	;


desc
@@


1.27
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311722
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# New ports collection makefile for:	wput
# Date created:				2 December 2003
# Whom:					Nosov Artem <chip-set@@mail.ru>
#
# $FreeBSD: head/ftp/wput/Makefile 311722 2013-02-05 16:17:06Z novel $
#

PORTNAME=	wput
PORTVERSION=	0.6.2
PORTREVISION=	4
CATEGORIES=	ftp
MASTER_SITES=	SF
EXTRACT_SUFX=	.tgz

MAINTAINER=	chip-set@@mail.ru
COMMENT=	Uploads files or directories to a ftpserver with support of resuming

PORTDOCS=	ABOUT-NLS COPYING ChangeLog INSTALL TODO
PORTEXAMPLES=	USAGE.examples USAGE.resumehandling USAGE.urlhandling \
		passwordfile wputrc

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	LIBS="${LDFLAGS}"
CFLAGS+=	-I${LOCALBASE}/include
MAKE_JOBS_UNSAFE=yes

OPTIONS=	TLS "Enable TLS support" On \
		NLS "Native Language Support with gettext" On

MAN1=		wdel.1 wput.1

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_TLS)
LIB_DEPENDS+=	gnutls.26:${PORTSDIR}/security/gnutls
CONFIGURE_ARGS+=	--with-ssl
.else
CONFIGURE_ARGS+=	--without-ssl
.endif

.if !defined(WITHOUT_NLS)
USE_ICONV=	yes
USE_GETTEXT=	yes
CONFIGURE_ARGS+=	--enable-nls \
			--with-libintl-prefix=${LOCALBASE} \
			--with-libiconv-prefix=${LOCALBASE}
PLIST_SUB+=	NLS=""
.else
CONFIGURE_ARGS+=	--disable-nls --without-libiconv-prefix
PLIST_SUB=	NLS="@@comment "
.endif

pre-configure:
	@@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \
		${WRKSRC}/src/memdbg.c \
		${WRKSRC}/src/socketlib.c

post-install:
	@@${INSTALL_MAN}	${MAN1:S,^,${WRKSRC}/doc/,} ${MANPREFIX}/man/man1/

.if !defined(NOPORTDOCS)
	@@${INSTALL} -d ${DOCSDIR}
	@@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif

.if !defined(NOPORTEXAMPLES)
	@@${INSTALL} -d ${EXAMPLESDIR}
	@@${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/doc/,} ${EXAMPLESDIR}
.endif

.include <bsd.port.post.mk>
@


1.26
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/ftp/wput/Makefile 300896 2012-07-14 13:54:48Z beat $
d10 1
a10 1
PORTREVISION=	3
d35 1
a35 1
LIB_DEPENDS+=	gnutls.47:${PORTSDIR}/security/gnutls
@


1.25
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.24
log
@Chase security/gnutls update and add an UPDATING entry.
@
text
@d23 2
a24 3
CONFIGURE_ENV=	CFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="${LDFLAGS}" \
		LIBS="${LDFLAGS}"
@


1.23
log
@Bounce PORTREVISION for gettext-related ports.  Have fun, ya'll.
@
text
@d10 1
a10 1
PORTREVISION=	2
d36 1
a36 1
LIB_DEPENDS+=	gnutls.40:${PORTSDIR}/security/gnutls
@


1.22
log
@- Mark MAKE_JOBS_USAFE

PR:		138405
Submitted by:	myself
Approved by:	Artyom Nosov <chip-set@@mail.ru> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.21
log
@Bump PORTREVISIONs of the gnutls dependant ports to chase gnutls update.
@
text
@d26 1
@


1.20
log
@- Update to 0.6.2

PR:		ports/128892
Submitted by:	Yi-Jheng Lin <yzlin@@cs.nctu.edu.tw>
Approved by:	Artyom Nosov <chip-set@@mail.ru> (maintainer)
@
text
@d10 1
d35 1
a35 1
LIB_DEPENDS+=	gnutls.26:${PORTSDIR}/security/gnutls
@


1.19
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@d9 1
a9 2
PORTVERSION=	0.6.1
PORTREVISION=	2
a16 2
LIB_DEPENDS=	gnutls.26:${PORTSDIR}/security/gnutls

a20 2
USE_GETTEXT=	yes
USE_AUTOTOOLS=	autoconf:262
d22 3
a24 1
CONFIGURE_ENV=	LIBS="${LDFLAGS}"
d26 2
a27 3
OPTIONS=	TLS "Enable TLS support" on \
		MEM_DEBUG "Enable memory debugging" off \
		DEBUG "Enable debug support" on
d29 1
a29 1
MAN1=		wput.1
d33 4
a36 1
.if defined(WITHOUT_TLS)
d39 11
a49 5
.if defined(WITH_MEM_DEBUG)
CONFIGURE_ARGS+=	--enable-memdbg
.endif
.if defined(WITHOUT_DEBUG)
CONFIGURE_ARGS+=	--disable-g-switch
d53 3
a55 1
	@@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/socketlib.c
d58 1
a58 1
	@@${INSTALL_MAN}	${WRKSRC}/doc/${MAN1} ${MANPREFIX}/man/man1/
@


1.18
log
@Conversion from (now defunct) autoconf-2.61 to autoconf-2.62

Tested by:	exp build run (erwin)
@
text
@a26 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.17
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d25 1
a25 1
USE_AUTOTOOLS=	autoconf:261
@


1.16
log
@- Chase security/gnutls shlib version bump
- Add an entry to UPDATING
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.15
log
@- Fix (and add) pkg-plist

Reported by:	pointyhat via pav
Approved by:	linimon (mentor)
@
text
@d10 1
d18 1
a18 1
LIB_DEPENDS=	gnutls.13:${PORTSDIR}/security/gnutls
@


1.14
log
@- Update to 0.6.1
- Makefile cleanup

PR:		ports/119761
Submitted by:	Felippe de Meirelles Motta <lippemail@@gmail.com>
Approved by:	Artyom Nosov <chip-set@@mail.ru> (maintainer),
		linimon (mentor)
@
text
@d23 2
a24 1
USE_AUTOTOOLS=    autoconf:261
a27 1
PLIST_FILES=	bin/wput
d55 1
a55 1
	@@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}	
@


1.13
log
@At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
@
text
@d9 1
a9 1
PORTVERSION=	0.5
d11 1
a11 3
MASTER_SITES=	http://itooktheredpill.dyndns.org/wput/ \
		${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR=distfiles
d17 1
a17 1
PORTDOCS=	TODO ChangeLog
d19 3
a21 2
USE_GETOPT_LONG=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}
d23 1
d27 5
a32 2
PLIST_FILES=	bin/wput
MANCOMPRESSED=	yes
d35 15
d51 2
d54 7
a60 4
	@@${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
	@@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
d63 1
a63 1
.include <bsd.port.mk>
@


1.12
log
@Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
@
text
@d25 1
a25 1
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
@


1.11
log
@Fix MASTER_SITES.

Approved by:	portmgr (implicit)
@
text
@d25 1
a25 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.10
log
@Update port: ftp/wput - new version (0.5)

	There's a new version of wput out there, 0.5

PR:		ports/75085
Submitted by:	Pasi Hirvonen <psh@@iki.fi>
Approved by:	".::ChiP::." <chip-set@@mail.ru>
@
text
@d11 3
a13 1
MASTER_SITES=	http://itooktheredpill.dyndns.org/wput/
@


1.9
log
@BROKEN: Size mismatch
@
text
@d9 1
a9 1
PORTVERSION=	0.4.1
a16 2
BROKEN=		Size mismatch

d27 1
@


1.8
log
@Update to 0.4.1

PR:		ports/71777
Submitted by:	maintainer
@
text
@d17 2
@


1.7
log
@Fix handling of libgnugetopt to fix build on 5.x
@
text
@d9 1
a9 2
PORTVERSION=	0.4
PORTREVISION=	1
@


1.6
log
@Distfile has been rerolled with fix initialy found in files/patch-src::ftp.c
Noticed by: kris / pointyhat
@
text
@a19 1
USE_AUTOCONF_VER=	253
d25 1
a25 2
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib"
@


1.5
log
@Update ftp/wput to version 0.4 (with smarter upload options)

PR:		ports/68684
Submitted by:	Edwin Groothuis <edwin@@mavetju.org>
Reviewed by:	ChiP <chip-set@@mail.ru>
@
text
@d10 1
@


1.4
log
@- Use PLIST_FILES knob

PR:		ports/63926
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	0.3.6d
a11 1
DISTNAME=	wput-0.3.6
d17 1
a17 1
PORTDOCS=	TODO USAGE.examples
d29 1
@


1.3
log
@Unbreak by chasing checksum.  The version was silently updated to 0.3.6d
and a minor bug fix was made to the source.
@
text
@d18 2
d29 2
d34 1
a34 1
.for f in USAGE.examples TODO
@


1.2
log
@- Add USE_AUTOCONF_VER=253

PR:		61223
Submitted by:	Nosov Artem <chip-set@@mail.ru> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.3.6
d12 1
@


1.1
log
@Add wput 0.3.6,

wput is a tiny program that looks like wget and does as the
name suggests exactly the opposite: it uploads files or
recursivly whole directories to a ftp-server and supports
resuming.

PR:		60032
Submitted by:	Nosov Artem <chip-set@@mail.ru>
@
text
@d17 1
a17 1
GNU_CONFIGURE=	yes
d21 1
@

