2008-06-12 17:58:11 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2008/06/12 21:58:12 sthen Exp $
|
2002-06-19 17:06:55 -04:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= tool to mirror contents of HTTP and FTP servers
|
2002-06-19 17:06:55 -04:00
|
|
|
|
2008-01-22 15:12:48 -05:00
|
|
|
DISTNAME= pavuk-0.9.35
|
2008-06-12 17:58:11 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2002-06-19 17:06:55 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.pavuk.org/
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2008-01-22 15:12:48 -05:00
|
|
|
|
|
|
|
WANTLIB= c crypto ssl z
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pavuk/}
|
2002-06-19 17:06:55 -04:00
|
|
|
|
|
|
|
FLAVORS= no_x11
|
|
|
|
FLAVOR?=
|
|
|
|
|
2004-08-10 05:38:34 -04:00
|
|
|
MODULES= devel/gettext
|
2003-01-26 15:50:17 -05:00
|
|
|
|
2002-06-19 17:06:55 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2008-01-22 15:12:48 -05:00
|
|
|
CONFIGURE_ARGS+= --disable-debug --disable-socks --disable-gnome \
|
|
|
|
--disable-tree --disable-js --with-regex=posix
|
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}
|
2006-11-13 07:51:14 -05:00
|
|
|
USE_X11= Yes
|
2008-01-22 15:12:48 -05:00
|
|
|
LIB_DEPENDS+= gtk-x11-2.0,gdk-x11-2.0,gdk_pixbuf-2.0::x11/gtk+2
|
|
|
|
WANTLIB+= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
|
|
|
|
Xi Xinerama Xmu Xrandr Xrender atk-1.0 cairo expat \
|
|
|
|
fontconfig freetype glib-2.0 glitz gmodule-2.0 gobject-2.0 \
|
2008-06-12 17:58:11 -04:00
|
|
|
m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
|
2002-06-19 17:06:55 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gtk
|
|
|
|
.endif
|
|
|
|
|
2008-01-22 15:12:48 -05:00
|
|
|
NO_REGRESS= Yes
|
2002-06-19 17:06:55 -04:00
|
|
|
|
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
|
2008-01-22 15:12:48 -05:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} COPYING README wget-pavuk.HOWTO \
|
|
|
|
${PREFIX}/share/doc/pavuk
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} *.sample \
|
2002-06-19 17:06:55 -04:00
|
|
|
${PREFIX}/share/examples/pavuk
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|