aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/downloader/Makefile
blob: 7f6ede2ef3071e24b97d0d926cd9ed487d01a661 (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
41
42
43
44
# ex:ts=8
# New ports collection makefile for:    downloader
# Date Created:     23 June 1999
# Whom:         Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   downloader
PORTVERSION=    1.30
CATEGORIES= ftp
MASTER_SITES=   http://www.krasu.ru/soft/chuchelo/files/ \
        ftp://ftp.server51.freshmeat.net/pub/d4x/ \
        ftp://ftp.chg.ru/pub/X11/applications/Xdownloader/
DISTNAME=   nt-${PORTVERSION}

MAINTAINER= ijliao@FreeBSD.org

WRKSRC=     ${WRKDIR}/${DISTNAME}/main

USE_GTK=    yes
USE_GMAKE=  yes
MAKE_ENV=   CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" DEST="${PREFIX}" \
        OSTYPE="${OPSYS}" MAKE_CMD="${GMAKE}" \
        PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}"
MAN1=       nt.1

PORTDOCS=   ChangeLog LICENSE NAMES PLANS THANKS TODO TROUBLES \
        FAQ FAQ.de FAQ.es FAQ.fr FAQ.gr \
        INSTALL INSTALL.de INSTALL.es INSTALL.fr INSTALL.gr \
        INSTALL.he INSTALL.pl INSTALL.pt_BR \
        README README.de README.en README.es README.gr \
        README.pl README.pt_BR README.ru

post-install:
    @${INSTALL_MAN} ${WRKSRC}/../nt.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
    @${INSTALL_DATA} ${WRKSRC}/../${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>