pkgsrc/security/opensc-signer/Makefile
2012-02-16 19:39:48 +00:00

31 lines
1,004 B
Makefile

# $NetBSD: Makefile,v 1.8 2012/02/16 19:39:48 hans Exp $
PKGNAME= opensc-signer-${OPENSC_PKG_VERSION}
PKGREVISION= 1
COMMENT= Opensc signer plugin for Mozilla apps
LICENSE= gnu-lgpl-v2.1
.include "../../security/opensc/Makefile.common"
DISTINFO_FILE= ${.CURDIR}/../../security/opensc/distinfo
PATCHDIR= ${.CURDIR}/../../security/opensc/patches
PKG_DESTDIR_SUPPORT= user-destdir
CONFIGURE_ARGS+= --enable-nsplugin
CONFIGURE_ARGS+= --with-plugindir=${PREFIX}/lib/xulrunner/plugins
CONFIGURE_ARGS+= --with-pinentry=${PREFIX}/bin/pinentry
LDFLAGS.SunOS+= -liconv
do-install:
cd ${WRKSRC}/src/signer && ${SETENV} ${MAKE_ENV} ${MAKE} \
prefix=${DESTDIR}${PREFIX} \
plugindir=${DESTDIR}${PREFIX}/lib/xulrunner/plugins install
.include "../../devel/libltdl/buildlink3.mk"
.include "../../security/libassuan2/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../security/pinentry/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"