summaryrefslogtreecommitdiff
path: root/security/pakchois/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/pakchois/Makefile')
-rw-r--r--security/pakchois/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/security/pakchois/Makefile b/security/pakchois/Makefile
new file mode 100644
index 00000000000..59640cd0476
--- /dev/null
+++ b/security/pakchois/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/10/30 03:32:19 bjs Exp $
+#
+
+DISTNAME= pakchois-0.4
+CATEGORIES= security
+MASTER_SITES= http://www.manyfish.co.uk/pakchois/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.manyfish.co.uk/pakchois/
+COMMENT= PKCS#11 wrapper library
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake pkg-config
+
+CONFIGURE_ARGS+= --enable-dlopen
+
+PKGCONFIG_OVERRIDE+= pakchois.pc.in
+
+PTHREAD_OPTS+= require
+PKG_PTHREAD_FLAGS= ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
+
+BROKEN_GETTEXT_DETECTION= yes
+BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:M*}
+BUILDLINK_TRANSFORM+= opt:-lpthread:${PKG_PTHREAD_FLAGS:M*}
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"