aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/wput/Makefile
blob: 5a557f1a8d4463e5735d23e42f26da0fec959114 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:    wput
# Date created:             2 December 2003
# Whom:                 Nosov Artem <chip-set@mail.ru>
#
# $FreeBSD$
#

PORTNAME=   wput
PORTVERSION=    0.3.6
CATEGORIES= ftp
MASTER_SITES=   http://itooktheredpill.dyndns.org/wput/
EXTRACT_SUFX=   .tgz

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

USE_AUTOCONF_VER=   253
USE_GETOPT_LONG=    yes
WRKSRC=     ${WRKDIR}/${PORTNAME}

GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib"

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for f in USAGE.examples TODO
    @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>