aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/pavuk/Makefile
blob: 708b555ffb9ff2143bd9d6dd50aa857373831542 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# New ports collection makefile for:    pavuk
# Date created:             19 March 1998
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=       pavuk
PORTVERSION=        0.9.18
CATEGORIES=     ftp www
MASTER_SITES=       ${MASTER_SITE_SUNSITE} \
            ftp://ftp.idata.sk/pub/unix/www/ \
            ftp://ftp.phacka.sk/pub/pavuk/ \
            http://www.idata.sk/~ondrej/sw/
MASTER_SITE_SUBDIR= X11/gtkbuffet/apps/pavuk
DISTNAME=       ${PORTNAME}-0.9pl18
EXTRACT_SUFX=       .tgz

MAINTAINER=     ports@FreeBSD.org

USE_AUTOCONF=       yes

.if defined(WIITHOUT_X11)
CONFIGURE_ARGS=     --disable-gtk
.else
CONFIGURE_ARGS=     --with-xpm-includes=${X11BASE}/include --disable-gtk
USE_XPM=        yes
.endif

USE_GMAKE=      yes

.if defined(WITH_SSL)
USE_OPENSSL=        YES
.else
CONFIGURE_ARGS+=    --disable-ssl
.endif

MAN1=           pavuk.1

do-install:
    @ ${INSTALL_PROGRAM} ${WRKSRC}/src/pavuk ${PREFIX}/bin
    @ ${INSTALL_MAN} ${WRKSRC}/man/pavuk.1 ${PREFIX}/man/man1
    @ ${INSTALL_DATA} ${WRKSRC}/pavukrc.sample ${PREFIX}/etc
    @ ${INSTALL_DATA} ${WRKSRC}/pavuk_authinfo.sample ${PREFIX}/etc
    @ ${MKDIR} ${PREFIX}/share/locale/cs/LC_MESSAGES
    @ ${MKDIR} ${PREFIX}/share/locale/de/LC_MESSAGES
    @ ${MKDIR} ${PREFIX}/share/locale/sk/LC_MESSAGES
    @ ${INSTALL_DATA} ${WRKSRC}/po/cs.mo ${PREFIX}/share/locale/cs/LC_MESSAGES/pavuk.mo
    @ ${INSTALL_DATA} ${WRKSRC}/po/de.mo ${PREFIX}/share/locale/de/LC_MESSAGES/pavuk.mo
    @ ${INSTALL_DATA} ${WRKSRC}/po/sk.mo ${PREFIX}/share/locale/sk/LC_MESSAGES/pavuk.mo
    @ ${MKDIR} ${PREFIX}/share/icons
    @ ${INSTALL_DATA} ${WRKSRC}/icons/*.xpm ${PREFIX}/share/icons
.if !defined(NOPORTDOCS)
    @ ${MKDIR} ${PREFIX}/share/doc/pavuk
.for file in AUTHORS BUGS ChangeLog FAQ README THANK_TO TODO
    @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/pavuk
.endfor
.endif

.include <bsd.port.mk>