1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/ftp/ftpcopy/Makefile

37 lines
950 B
Makefile

# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
PORTNAME= ftpcopy
PORTVERSION= 0.6.7
CATEGORIES= ftp ipv6
MASTER_SITES= http://www.ohse.de/uwe/ftpcopy/
MAINTAINER= mandree@FreeBSD.org
COMMENT= Command line ftp tools for listing and mirroring
USES= perl5
USE_PERL5= build
WRKSRC= ${WRKDIR}/web/${DISTNAME}
.include <bsd.port.options.mk>
pre-build:
${ECHO} "${CC}" >${WRKSRC}/src/conf-cc
${ECHO} "${CPPFLAGS} ${CFLAGS}" >${WRKSRC}/src/conf-cflags
${ECHO} "${LDFLAGS}" >${WRKSRC}/src/conf-ldflags
do-install:
cd ${WRKSRC}/compile && \
${INSTALL_PROGRAM} ftpcopy ftpls ${STAGEDIR}${PREFIX}/bin && \
${INSTALL_MAN} *.1 ${STAGEDIR}${PREFIX}/man/man1 && \
${INSTALL_SCRIPT} ftpcp ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR} && \
cd ${WRKSRC}/compile && \
${INSTALL_DATA} ChangeLog NEWS \
README THANKS ftpcopy.html ftpls.html ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>