summaryrefslogtreecommitdiff
path: root/security/hydra/options.mk
diff options
context:
space:
mode:
authoradrianp <adrianp>2006-05-12 23:35:55 +0000
committeradrianp <adrianp>2006-05-12 23:35:55 +0000
commite43232b20de9bcb9309a4ee8711409be75d22981 (patch)
treee8864684f4cacb4536659e085616c054a72b5096 /security/hydra/options.mk
parent2964d6669cd6fee4f0216c42f922c185ab55040b (diff)
downloadpkgsrc-e43232b20de9bcb9309a4ee8711409be75d22981.tar.gz
Update to 5.3
Separate out options.mk functionality Add in options for subversion and postresql support > CHANGELOG for 5.3: > ########### > * Added NTLM support modules for pop3, imap, smtp-auth and http-proxy. > Work done by ilo (at) reversing.org. THANKS! > * Added a http form module, thanks to phil (at) irmplc.com > * Fixed a bug in the vnc module (thanks to kan (at) dcit.cz) > * Input files may *not* contain null bytes. I might fix that in the future > but currently I have enough other things on my todo sheet. > Thanks to didiln (at) gmail.com for reporting.
Diffstat (limited to 'security/hydra/options.mk')
-rw-r--r--security/hydra/options.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/security/hydra/options.mk b/security/hydra/options.mk
new file mode 100644
index 00000000000..8c7897bd6c8
--- /dev/null
+++ b/security/hydra/options.mk
@@ -0,0 +1,30 @@
+# $NetBSD: options.mk,v 1.1 2006/05/12 23:35:55 adrianp Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.hydra
+PKG_SUPPORTED_OPTIONS= gtkfe svn pgsql
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgtkfe)
+.include "../../x11/gtk2/buildlink3.mk"
+
+post-configure:
+ cd ${WRKSRC}/hydra-gtk && \
+ ${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
+
+post-build:
+ cd ${WRKSRC}/hydra-gtk && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
+
+post-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/hydra-gtk/src/xhydra ${PREFIX}/bin
+PLIST_SRC+= ${PKGDIR}/PLIST.xhydra
+.endif
+
+.if !empty(PKG_OPTIONS:Msvn)
+.include "../../devel/subversion-base/buildlink3.mk"
+.include "../../devel/apr/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mpgsql)
+.include "../../databases/postgresql81-client/buildlink3.mk"
+.endif