55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.9 2004/12/16 00:31:24 alek Exp $
|
|
|
|
COMMENT= "tool to mirror contents of HTTP and FTP servers"
|
|
|
|
DISTNAME= pavuk-0.9pl28
|
|
PKGNAME= ${DISTNAME}p1
|
|
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
|
|
WANTLIB= c crypto ssl z
|
|
|
|
FLAVORS= no_x11
|
|
FLAVOR?=
|
|
|
|
MODULES= devel/gettext
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= --disable-debug --disable-tree \
|
|
--disable-gnome --with-regex=posix \
|
|
--disable-socks
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
.if !${FLAVOR:L:Mno_x11}
|
|
LIB_DEPENDS+= gtk.1.2,gdk.1.2::x11/gtk+
|
|
WANTLIB+= X11 Xext Xi Xmu glib gmodule m
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-gtk
|
|
.endif
|
|
|
|
DOCS= COPYING FAQ README jsbind.txt wget-pavuk.HOWTO
|
|
SAMPLES= pavukrc.sample
|
|
|
|
post-install:
|
|
${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>
|