summaryrefslogtreecommitdiff
path: root/security/erlang-p1_pam/Makefile
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2015-11-04 13:45:44 +0000
committerfhajny <fhajny@pkgsrc.org>2015-11-04 13:45:44 +0000
commit43a34d1291779f49a7bc245ccf25f1cd7b98e009 (patch)
treefafd632e46e4178036f90e914826c029af9b9e06 /security/erlang-p1_pam/Makefile
parent8d9f4595740b0c7db24783c715e86f8ee4836991 (diff)
downloadpkgsrc-43a34d1291779f49a7bc245ccf25f1cd7b98e009.tar.gz
Import 20 Erlang module packages that will work as dependencies
in the ejabberd 15.10 update that follows.
Diffstat (limited to 'security/erlang-p1_pam/Makefile')
-rw-r--r--security/erlang-p1_pam/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/security/erlang-p1_pam/Makefile b/security/erlang-p1_pam/Makefile
new file mode 100644
index 00000000000..db903d7f696
--- /dev/null
+++ b/security/erlang-p1_pam/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2015/11/04 13:45:45 fhajny Exp $
+
+DISTNAME= p1_pam-0.20150223
+PKGNAME= erlang-${DISTNAME}
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_GITHUB:=processone/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://github.com/processone/epam/
+COMMENT= Erlang epam for ejabberd to help with PAM authentication
+LICENSE= gnu-gpl-v2
+
+BUILD_DEPENDS+= rebar-[0-9]*:../../devel/rebar
+
+GITHUB_PROJECT= epam
+GITHUB_TAG= d3ce290b7da75d780a03e86e7a8198a80e9826a6
+WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= pax
+
+LDFLAGS.SunOS+= -lnsl
+
+INSTALLATION_DIRS+= lib/erlang/lib/p1_pam
+
+do-install:
+ cd ${WRKSRC} && ${PAX} -rw -pp ebin priv \
+ ${DESTDIR}${PREFIX}/lib/erlang/lib/p1_pam/
+
+.include "../../lang/erlang/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"