aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/cmdftp/Makefile
blob: 1ea35d7e6b37c8bde1fa98ccbbdf244f1d0f8ba5 (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
# New ports collection makefile for:    cmdftp
# Date created:         2003-12-28
# Whom:                 Andreas Fehlner <fehlner@gmx.de>
#
# $FreeBSD$
#

PORTNAME=   cmdftp
PORTVERSION=    0.7.2
CATEGORIES= ftp
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= cmdftp

MAINTAINER= fehlner@gmx.de
COMMENT=    Command line shell-like ftp client

USE_REINPLACE=  yes

DOCS=   CHANGELOG README RELEASE

post-patch:
    @${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile
    @${REINPLACE_CMD} -e 's|^CC|#CC|g ; \
        s|^CFLAGS|#CFLAGS|g ; \
        s|^PREFIX|#PREFIX|g' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/cmdftp ${PREFIX}/bin

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>