1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/ftp/pavuk/Makefile
Jeremy Lea 877b8a533b Standardize all user defined options to the booleans WITH_FOO and
WITHOUT_FOO.  Begin the process of reserving these prefixes for user defined
options.

No comment by:	ports
2000-04-17 00:18:05 +00:00

68 lines
1.9 KiB
Makefile

# 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
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
.endif
USE_GMAKE= yes
.if defined(WITH_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>