aboutsummaryrefslogtreecommitdiff
path: root/security/gnutls-devel
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-01-28 22:12:42 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-01-28 22:12:42 +0000
commit2fcea17417a92f3f07551c68af2620e16dae0489 (patch)
tree310f562bd175f059153be067dab1dff751c633c0 /security/gnutls-devel
parent0d4bc17c919285f0619d565a53f5db3052d79cf6 (diff)
downloadports-2fcea17417a92f3f07551c68af2620e16dae0489.tar.gz
ports-2fcea17417a92f3f07551c68af2620e16dae0489.zip
Notes
Diffstat (limited to 'security/gnutls-devel')
-rw-r--r--security/gnutls-devel/Makefile29
-rw-r--r--security/gnutls-devel/pkg-plist6
2 files changed, 25 insertions, 10 deletions
diff --git a/security/gnutls-devel/Makefile b/security/gnutls-devel/Makefile
index c961bbbd21f7..4bf0a73cfa2f 100644
--- a/security/gnutls-devel/Makefile
+++ b/security/gnutls-devel/Makefile
@@ -7,27 +7,44 @@
PORTNAME= gnutls
PORTVERSION= 0.6.0
+PORTREVISION= 1
CATEGORIES= security net
MASTER_SITES= http://gd.tuwien.ac.at/privacy/gnupg/alpha/gnutls/ \
- ftp://ftp.gnutls.org/pub/gnutls/ \
- ftp://ftp.gnupg.org/pub/gcrypt/alpha/gnutls/ \
http://www.mirrors.wiretapped.net/security/network-security/gnutls/ \
+ ftp://ftp.gnupg.org/pub/gcrypt/alpha/gnutls/ \
ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/ \
+ ftp://ftp.gnutls.org/pub/gnutls/
MAINTAINER= sergei@kolobov.com
-LIB_DEPENDS= gcrypt:${PORTSDIR}/security/libgcrypt \
- tasn1:${PORTSDIR}/security/libtasn1
+LIB_DEPENDS= gcrypt.6:${PORTSDIR}/security/libgcrypt \
+ tasn1.0:${PORTSDIR}/security/libtasn1
+
+.if defined(WITH_OPENCDK)
+LIB_DEPENDS+= opencdk.5:${PORTSDIR}/security/opencdk
+.endif
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
DOCS= AUTHORS NEWS README THANKS
+pre-configure:
+ @${ECHO_MSG} ""
+.if defined (WITH_OPENCDK)
+ @${ECHO_MSG} "Enabled OpenCDK support"
+.else
+ @${ECHO_MSG} "OpenCDK support is disabled by default"
+ @${ECHO_MSG} "Use WITH_OPENCDK=yes to enable"
+.endif
+ @${ECHO_MSG} ""
+
post-install:
+ ${RM} -f ${PREFIX}/lib/libgnutls.la ${PREFIX}/lib/libgnutls-extra.la
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/doc/examples/*.c ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
diff --git a/security/gnutls-devel/pkg-plist b/security/gnutls-devel/pkg-plist
index c3259e0b9d55..7df653a8fed2 100644
--- a/security/gnutls-devel/pkg-plist
+++ b/security/gnutls-devel/pkg-plist
@@ -1,9 +1,9 @@
-bin/libgnutls-config
-bin/libgnutls-extra-config
bin/gnutls-serv
bin/gnutls-cli
bin/gnutls-srpcrypt
bin/gnutls-cli-debug
+bin/libgnutls-config
+bin/libgnutls-extra-config
include/gnutls/extra.h
include/gnutls/compat4.h
include/gnutls/openssl.h
@@ -11,11 +11,9 @@ include/gnutls/gnutls.h
@dirrm include/gnutls
lib/libgnutls.so.7
lib/libgnutls.so
-lib/libgnutls.la
lib/libgnutls.a
lib/libgnutls-extra.so.7
lib/libgnutls-extra.so
-lib/libgnutls-extra.la
lib/libgnutls-extra.a
share/aclocal/libgnutls.m4
share/aclocal/libgnutls-extra.m4