--- Portfile.orig	2008-02-01 18:50:00.000000000 +0100
+++ Portfile	2008-02-01 19:01:28.000000000 +0100
@@ -7,8 +7,10 @@
 
 name                vpnc
 version             0.5.1
+revision            1
 categories          net
-maintainers         kiehn@stud.uni-heidelberg.de
+maintainers         openmaintainer \
+                    stud.uni-heidelberg.de:kiehn
 description         client for cisco vpn concentrator
 long_description    vpnc is an open source replacement for the commercial \
                     cisco vpnclient. It is supposed to work with the following \
@@ -39,3 +41,8 @@
 build.args          PREFIX=${prefix} ETCDIR=${prefix}/etc/vpnc
 
 destroot.args       PREFIX=${prefix} ETCDIR=${prefix}/etc/vpnc
+
+variant             hybrid-cert description "Enable the support for hybrid and cert modes in vpnc" {
+    depends_lib-append port:openssl
+    build.args-append  "OPENSSL_GPL_VIOLATION=-DOPENSSL_GPL_VIOLATION OPENSSLLIBS=-lcrypto"    
+}

