2013-03-11 11:35:43 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.28 2013/03/11 11:35:54 espie Exp $
|
2002-06-19 21:06:55 +00:00
|
|
|
|
2007-09-15 22:36:51 +00:00
|
|
|
COMMENT= tool to mirror contents of HTTP and FTP servers
|
2002-06-19 21:06:55 +00:00
|
|
|
|
2008-01-22 20:12:48 +00:00
|
|
|
DISTNAME= pavuk-0.9.35
|
2012-06-26 10:14:10 +00:00
|
|
|
REVISION= 6
|
2002-06-19 21:06:55 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.pavuk.org/
|
|
|
|
|
2009-03-16 21:29:34 +00:00
|
|
|
# GPLv2+, OpenSSL exception
|
2002-06-19 21:06:55 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2008-01-22 20:12:48 +00:00
|
|
|
|
|
|
|
WANTLIB= c crypto ssl z
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pavuk/}
|
2002-06-19 21:06:55 +00:00
|
|
|
|
|
|
|
FLAVORS= no_x11
|
|
|
|
FLAVOR?=
|
|
|
|
|
2004-08-10 09:38:34 +00:00
|
|
|
MODULES= devel/gettext
|
2003-01-26 20:50:17 +00:00
|
|
|
|
2002-06-19 21:06:55 +00:00
|
|
|
CONFIGURE_STYLE= gnu
|
2008-01-22 20:12:48 +00:00
|
|
|
CONFIGURE_ARGS+= --disable-debug --disable-socks --disable-gnome \
|
|
|
|
--disable-tree --disable-js --with-regex=posix
|
2003-01-26 20:50:17 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2010-10-18 21:50:38 +00:00
|
|
|
USE_GROFF = Yes
|
2002-06-19 21:06:55 +00:00
|
|
|
|
2013-02-09 14:49:50 +00:00
|
|
|
.if !${FLAVOR:Mno_x11}
|
2010-11-19 22:31:32 +00:00
|
|
|
LIB_DEPENDS+= x11/gtk+2
|
2009-03-16 21:29:34 +00:00
|
|
|
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
|
|
|
WANTLIB += Xi Xinerama Xmu Xrandr Xrender atk-1.0 cairo expat
|
2010-10-11 08:11:24 +00:00
|
|
|
WANTLIB += fontconfig freetype gio-2.0 glib-2.0 gmodule-2.0
|
2009-03-16 21:29:34 +00:00
|
|
|
WANTLIB += gobject-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
|
2010-09-30 07:21:18 +00:00
|
|
|
WANTLIB += pixman-1 png pthread-stubs xcb gdk_pixbuf-2.0
|
2010-11-11 16:27:54 +00:00
|
|
|
WANTLIB += gtk-x11-2.0 gdk-x11-2.0
|
2002-06-19 21:06:55 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gtk
|
|
|
|
.endif
|
|
|
|
|
2013-03-11 11:35:43 +00:00
|
|
|
NO_TEST= Yes
|
2002-06-19 21:06:55 +00:00
|
|
|
|
2003-01-26 20:50:17 +00:00
|
|
|
post-install:
|
2002-06-19 21:06:55 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pavuk
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pavuk
|
2008-01-22 20:12:48 +00:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} COPYING README wget-pavuk.HOWTO \
|
|
|
|
${PREFIX}/share/doc/pavuk
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} *.sample \
|
2002-06-19 21:06:55 +00:00
|
|
|
${PREFIX}/share/examples/pavuk
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|