openbsd-ports/net/pavuk/Makefile
merdely 241b722760 Remove surrounding quotes in COMMENT*/PERMIT_*/BROKEN/ERRORS
Add $OpenBSD$ to p5-SNMP-Info/Makefile (ok kili@, simon@)
2007-09-15 22:36:51 +00:00

56 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2007/09/15 22:36:57 merdely 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}
USE_X11= Yes
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>