aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/pavuk/Makefile
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2001-09-04 07:01:44 +0800
committerdwcjr <dwcjr@FreeBSD.org>2001-09-04 07:01:44 +0800
commit70ed2f2de1eef5ef4a67c68dcb9ea58e38348b0a (patch)
treed36ffdfa020eba5583d02ff3203f21d2dcc04086 /ftp/pavuk/Makefile
parent8eb85d9d3d947a376effdc67f9175213af3a3598 (diff)
downloadfreebsd-ports-graphics-70ed2f2de1eef5ef4a67c68dcb9ea58e38348b0a.tar.gz
freebsd-ports-graphics-70ed2f2de1eef5ef4a67c68dcb9ea58e38348b0a.tar.zst
freebsd-ports-graphics-70ed2f2de1eef5ef4a67c68dcb9ea58e38348b0a.zip
Update to 0.9.27
PR: 29821 Submitted by: tkato@prontomail.com
Diffstat (limited to 'ftp/pavuk/Makefile')
-rw-r--r--ftp/pavuk/Makefile26
1 files changed, 12 insertions, 14 deletions
diff --git a/ftp/pavuk/Makefile b/ftp/pavuk/Makefile
index 5edbabbd97c..1c14ada6390 100644
--- a/ftp/pavuk/Makefile
+++ b/ftp/pavuk/Makefile
@@ -6,12 +6,12 @@
#
PORTNAME= pavuk
-PORTVERSION= 0.9.27
+PORTVERSION= 0.9.28
CATEGORIES= ftp www
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
http://www.idata.sk/~ondrej/sw/
MASTER_SITE_SUBDIR= apps/www/mirroring
-DISTNAME= ${PORTNAME}-0.9pl27
+DISTNAME= ${PORTNAME}-0.9pl28
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
@@ -19,8 +19,8 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
WANT_GTK= yes
-USE_AUTOMAKE= yes
-AUTOMAKE_ARGS= --include-deps
+USE_OPENSSL= yes
+GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-locale-dir=${LOCALBASE}/share/locale \
@@ -37,22 +37,20 @@ CONFIGURE_ARGS+= --with-gtk-config="${GTK_CONFIG}"
CONFIGURE_ARGS+= --disable-gtk
.endif
-.if defined(WITH_SSL)
-USE_OPENSSL= yes
-.else
-CONFIGURE_ARGS+= --disable-ssl
-.endif
-
-pre-configure:
- @cd ${WRKSRC} && aclocal
+pre-patch:
+ @${PERL} -pi -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 ${PERL} -pi -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} ${PREFIX}/share/doc/pavuk
+ @${MKDIR} ${DOCSDIR}
.for file in AUTHORS BUGS CREDITS ChangeLog FAQ MAILINGLIST NEWS README
- ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/pavuk
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif