aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/downloader/Makefile
blob: 5d0be19c7ceaf4c030ca8878e41bc19b91773f85 (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
# 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.16
CATEGORIES= ftp
MASTER_SITES=   ftp://ftp.server51.freshmeat.net/pub/d4x/ \
        ftp://ftp.chg.ru/pub/X11/applications/Xdownloader/
DISTNAME=   nt-${PORTVERSION}

MAINTAINER= andrew@chg.ru

LIB_DEPENDS=    gtk12.2:${PORTSDIR}/x11-toolkits/gtk12

GTK_CONFIG?=    ${X11BASE}/bin/gtk12-config
MSGFMT_CMD= ${LOCALBASE}/bin/msgfmt

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

MAKE_ENV=   GTK_CONFIG="${GTK_CONFIG}" \
        MSGFMT_CMD="${MSGFMT_CMD}"

MAN1=       nt.1

D4X_DOC=    ChangeLog FAQ FAQ.de FAQ.es FAQ.fr FAQ.gr LICENSE \
        NAMES PLANS README README.de README.es README.gr 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 ${D4X_DOC}
    ${INSTALL_DATA} ${WRKSRC}/../${file} ${PREFIX}/share/doc/downloader
.endfor
.endif

.include <bsd.port.mk>