mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
c8eaa93644
Submitted by: lots and lots Pointy hat to: ade
60 lines
1.5 KiB
Makefile
60 lines
1.5 KiB
Makefile
# New ports collection makefile for: pavuk
|
|
# Date created: 19 March 1998
|
|
# Whom: Andrey Zakhvatov
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pavuk
|
|
PORTVERSION= 0.9.28
|
|
PORTREVISION= 1
|
|
CATEGORIES= ftp www
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
|
|
http://www.idata.sk/~ondrej/sw/
|
|
MASTER_SITE_SUBDIR= apps/www/mirroring
|
|
DISTNAME= ${PORTNAME}-0.9pl28
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
|
|
|
|
USE_REINPLACE= yes
|
|
WANT_GTK= yes
|
|
USE_OPENSSL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS= --with-locale-dir=${LOCALBASE}/share/locale \
|
|
--disable-debug --disable-gnome --enable-threads
|
|
|
|
MAN1= pavuk.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(HAVE_GTK)
|
|
USE_GTK= yes
|
|
CONFIGURE_ARGS+= --with-gtk-config="${GTK_CONFIG}"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-gtk
|
|
.endif
|
|
|
|
pre-patch:
|
|
@${REINPLACE_CMD} -e 's|-pthread -DHAVE_MT|${PTHREAD_CFLAGS} -DHAVE_MT|g ; \
|
|
s|-pthread|${PTHREAD_LIBS}|g ; \
|
|
s|-lpthreads|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
|
|
's|\$$(datadir)/icons|\$$(pkgdatadir)/icons|g'
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/pavuk_authinfo.sample ${PREFIX}/etc
|
|
${INSTALL_DATA} ${WRKSRC}/pavukrc.sample ${PREFIX}/etc
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in AUTHORS BUGS CREDITS ChangeLog FAQ MAILINGLIST NEWS README
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|