summaryrefslogtreecommitdiffstats
path: root/ftp/downloader/Makefile
blob: f34669d624b3c280cf55e7bc20617aff00f9691f (plain)
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
# 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.23
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}"
MAN1=		nt.1

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

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud