aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/wput/Makefile
blob: 85382b770ca5c92d11c37f6be86746f330a0d7e4 (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
35
36
37
38
39
40
# New ports collection makefile for:    wput
# Date created:             2 December 2003
# Whom:                 Nosov Artem <chip-set@mail.ru>
#
# $FreeBSD$
#

PORTNAME=   wput
PORTVERSION=    0.5
CATEGORIES= ftp
MASTER_SITES=   http://itooktheredpill.dyndns.org/wput/ \
        ${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR=distfiles
EXTRACT_SUFX=   .tgz

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

PORTDOCS=   TODO ChangeLog

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

GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  LIBS="${LDFLAGS}"

PLIST_FILES=    bin/wput
MANCOMPRESSED=  yes
MAN1=       wput.1

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

.include <bsd.port.mk>