openbsd-ports/security/hydra/Makefile

70 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.30 2007/01/04 20:19:54 steven Exp $
2006-11-25 03:55:18 -05:00
COMMENT-main= "parallelized login hacker"
COMMENT-gui= "GTK frontend for hydra"
VERSION= 4.6
DISTNAME= hydra-4.6-src
2006-11-25 03:55:18 -05:00
PKGNAME-main= hydra-${VERSION}p3
PKGNAME-gui= hydra-gui-${VERSION}p6
CATEGORIES= security
2006-07-19 12:07:22 -04:00
HOMEPAGE= http://thc.segfault.net/thc-hydra/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m
2006-07-19 12:07:22 -04:00
MASTER_SITES= ${MASTER_SITE_PACKETSTORM:=groups/thc/}
PSEUDO_FLAVORS= no_x11
FLAVOR?=
2006-11-25 03:55:18 -05:00
MULTI_PACKAGES= -main
CONFIGURE_STYLE=gnu dest
2006-11-25 03:55:18 -05:00
USE_GMAKE= Yes
NO_REGRESS= Yes
.if ${FLAVOR:L:Mno_x11}
ALL_TARGET= hydra pw-inspector
INSTALL_TARGET= install
.else
USE_X11= Yes
MULTI_PACKAGES+=-gui
ALL_TARGET= all
INSTALL_TARGET= xinstall
MODULES= devel/gettext
post-configure:
cd ${WRKSRC}/hydra-gtk && ./configure
.endif
2006-11-25 03:55:18 -05:00
LIB_DEPENDS-main=
RUN_DEPENDS-main=
WANTLIB-main= ${WANTLIB} ssl crypto
LIB_DEPENDS-gui=gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
${MODGETTEXT_LIB_DEPENDS}
RUN_DEPENDS-gui=:hydra-${VERSION}*:security/hydra,-main \
${MODGETTEXT_RUN_DEPENDS}
WANTLIB-gui= ${WANTLIB} X11 Xext Xrender atk-1.0 freetype fontconfig z \
gmodule-2.0 gobject-2.0 glib-2.0 glitz png \
2006-09-18 07:59:59 -04:00
pango-1.0 pangocairo-1.0 cairo \
pangoft2-1.0
post-extract:
${CHMOD} -R u+w ${WRKDIST}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hydra
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/hydra
.include <bsd.port.mk>