openbsd-ports/net/pavuk/Makefile
2013-03-11 11:35:43 +00:00

53 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.28 2013/03/11 11:35:54 espie Exp $
COMMENT= tool to mirror contents of HTTP and FTP servers
DISTNAME= pavuk-0.9.35
REVISION= 6
CATEGORIES= net
HOMEPAGE= http://www.pavuk.org/
# GPLv2+, OpenSSL exception
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c crypto ssl z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pavuk/}
FLAVORS= no_x11
FLAVOR?=
MODULES= devel/gettext
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-debug --disable-socks --disable-gnome \
--disable-tree --disable-js --with-regex=posix
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_GROFF = Yes
.if !${FLAVOR:Mno_x11}
LIB_DEPENDS+= x11/gtk+2
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xmu Xrandr Xrender atk-1.0 cairo expat
WANTLIB += fontconfig freetype gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pixman-1 png pthread-stubs xcb gdk_pixbuf-2.0
WANTLIB += gtk-x11-2.0 gdk-x11-2.0
.else
CONFIGURE_ARGS+= --disable-gtk
.endif
NO_TEST= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pavuk
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pavuk
cd ${WRKSRC} && ${INSTALL_DATA} COPYING README wget-pavuk.HOWTO \
${PREFIX}/share/doc/pavuk
cd ${WRKSRC} && ${INSTALL_DATA} *.sample \
${PREFIX}/share/examples/pavuk
.include <bsd.port.mk>