From ea03d8c01d2d27a288d72117877442cb1aa7da46 Mon Sep 17 00:00:00 2001 From: Jose Alonso Cardenas Marquez Date: Wed, 25 Nov 2020 02:43:25 +0000 Subject: [PATCH] - New port: security/fpc-gnutls Free Pascal unit for GnuTLS --- security/fpc-gnutls/Makefile | 21 +++++++++++++++++++++ security/fpc-gnutls/pkg-plist | 5 +++++ 2 files changed, 26 insertions(+) create mode 100644 security/fpc-gnutls/Makefile create mode 100644 security/fpc-gnutls/pkg-plist diff --git a/security/fpc-gnutls/Makefile b/security/fpc-gnutls/Makefile new file mode 100644 index 000000000000..03fb1cd4500d --- /dev/null +++ b/security/fpc-gnutls/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +CATEGORIES= security lang +PKGNAMESUFFIX= -gnutls + +COMMENT= Free Pascal unit for GnuTLS + +USES= fpc +USE_FPC= fcl-async fcl-base fcl-net fcl-passrc fcl-res fcl-xml rtl-extra \ + rtl-objpas + +MASTERDIR= ${.CURDIR}/../../lang/fpc +WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//} +EXTRACTUNITDIR= ${WRKUNITDIR} + +OPTIONS_DEFINE= GNUTLS +OPTIONS_DEFAULT= GNUTLS + +GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls + +.include "${MASTERDIR}/Makefile" diff --git a/security/fpc-gnutls/pkg-plist b/security/fpc-gnutls/pkg-plist new file mode 100644 index 000000000000..516fe16cad05 --- /dev/null +++ b/security/fpc-gnutls/pkg-plist @@ -0,0 +1,5 @@ +lib/fpc/%%PORTVERSION%%/fpmkinst/%%BUILDNAME%%/gnutls.fpm +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gnutls/gnutls.o +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gnutls/gnutls.ppu +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gnutls/gnutlssockets.o +lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gnutls/gnutlssockets.ppu