2003-01-30 17:39:07 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2003/01/30 22:39:07 espie Exp $
|
2002-06-19 17:06:55 -04:00
|
|
|
|
|
|
|
COMMENT= "tool to mirror contents of HTTP and FTP servers"
|
|
|
|
|
|
|
|
DISTNAME= pavuk-0.9pl28
|
2003-01-26 21:53:47 -05:00
|
|
|
PKGNAME= ${DISTNAME}a
|
2002-06-19 17:06:55 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MASTER_SITES= http://www.pavuk.org/sw/ \
|
|
|
|
http://www.idata.sk/~ondrej/sw/ \
|
|
|
|
http://www.doc.cs.univ-paris8.fr/mirrors/pavuk/sw/
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.pavuk.org/
|
|
|
|
|
|
|
|
MAINTAINER= Federico Schwindt <fgsch@openbsd.org>
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
FLAVORS= no_x11
|
|
|
|
FLAVOR?=
|
|
|
|
|
2003-01-26 15:50:17 -05:00
|
|
|
MODULES= gettext
|
|
|
|
|
2002-06-19 17:06:55 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2003-01-26 15:50:17 -05:00
|
|
|
CONFIGURE_ARGS+= --disable-debug --disable-tree \
|
2003-01-30 17:39:07 -05:00
|
|
|
--disable-gnome --with-regex=posix \
|
|
|
|
--disable-socks
|
2003-01-26 15:50:17 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2002-06-19 17:06:55 -04:00
|
|
|
|
|
|
|
.if !${FLAVOR:L:Mno_x11}
|
2002-09-13 18:54:28 -04:00
|
|
|
LIB_DEPENDS+= gtk.1.2,gdk.1.2::x11/gtk+
|
2002-06-19 17:06:55 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gtk
|
|
|
|
.endif
|
|
|
|
|
|
|
|
DOCS= COPYING FAQ README jsbind.txt wget-pavuk.HOWTO
|
|
|
|
SAMPLES= pavukrc.sample
|
|
|
|
|
2003-01-26 15:50:17 -05:00
|
|
|
post-install:
|
2002-06-19 17:06:55 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pavuk
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pavuk
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/pavuk
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${SAMPLES} \
|
|
|
|
${PREFIX}/share/examples/pavuk
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|