summaryrefslogtreecommitdiff
path: root/sysutils/rsyslog-gnutls/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/rsyslog-gnutls/Makefile')
-rw-r--r--sysutils/rsyslog-gnutls/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/sysutils/rsyslog-gnutls/Makefile b/sysutils/rsyslog-gnutls/Makefile
new file mode 100644
index 00000000000..a9df35e0269
--- /dev/null
+++ b/sysutils/rsyslog-gnutls/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2014/09/05 07:15:41 fhajny Exp $
+#
+
+RSYSLOG_MOD= gnutls
+PKGNAME= ${DISTNAME:S/rsyslog/rsyslog-${RSYSLOG_MOD}/}
+
+DEPENDS+= rsyslog>=${PKGVERSION_NOREV}:../../sysutils/rsyslog
+
+.include "../../sysutils/rsyslog/Makefile.common"
+
+CONFIGURE_ARGS+= --enable-gnutls
+
+BUILD_DIRS= compat runtime
+
+INSTALLATION_DIRS+= lib/rsyslog
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/runtime/.libs/lmnsd_gtls.so \
+ ${DESTDIR}${PREFIX}/lib/rsyslog/
+ ${INSTALL_LIB} ${WRKSRC}/runtime/.libs/lmnsd_gtls.lai \
+ ${DESTDIR}${PREFIX}/lib/rsyslog/lmnsd_gtls.la
+ ${INSTALL_DATA} ${WRKSRC}/runtime/.libs/lmnsd_gtls.a \
+ ${DESTDIR}${PREFIX}/lib/rsyslog/
+
+.include "../../security/gnutls/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"