blob: 94c6c2d5fb7f1dd8028989443712980ec1c8f5a0 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# New ports collection makefile for: pavuk
# Version required: 0.9pl18
# Date created: 19 March 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
DISTNAME= pavuk-0.9pl18
PKGNAME= pavuk-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
EXTRACT_SUFX= .tgz
MAINTAINER= andy@icc.surw.chel.su
USE_AUTOCONF= yes
.if defined(NO_X11)
CONFIGURE_ARGS= --disable-gtk
.else
CONFIGURE_ARGS= --with-xpm-includes=${X11BASE}/include --disable-gtk
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
.endif
USE_GMAKE= yes
.if defined(USE_SSL)
USE_OPENSSL= RSA
.else
CONFIGURE_ARGS+= --disable-ssl
.endif
.include <bsd.port.pre.mk>
.if defined(OPENSSL_RSAREF)
CONFIGURE_ENV+= EXTRA_SSL_LIBS="-L${OPENSSLLIB} -lRSAglue -L${LOCALBASE}/lib -lrsaref" \
OPENSSLLIB=${OPENSSLLIB}
.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.post.mk>
|