f935a609c5
supports them. This is determined by running ``configure --help'' in do-configure target and set the shell variable _LATE_CONFIGURE_ARGS which is then passed to CONFIGURE_ARGS. - Remove --mandir and --infodir in ports' Makefile where applicable Few ports use REINPLACE_CMD to achieve the same effect, remove them too. - Correct some manual pages location from PREFIX/man to MANPREFIX/man - Define INFO_PATH where necessary - Document that .info files are installed in a subdirectory relative to PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and subdirectory detection. PR: ports/111470 Approved by: portmgr Discussed with: stas (Mk/*), gerald (info related stuffs) Tested by: pointyhat exp run
40 lines
904 B
Makefile
40 lines
904 B
Makefile
# New ports collection makefile for: pkcs11-helper
|
|
# Date created: 8 Jan 2007
|
|
# Whom: Alex Dupre <ale@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pkcs11-helper
|
|
PORTVERSION= 1.03
|
|
CATEGORIES= security devel
|
|
MASTER_SITES= http://www.opensc-project.org/files/${PORTNAME}/
|
|
|
|
MAINTAINER= ale@FreeBSD.org
|
|
COMMENT= A helper library for multiple PKCS#11 providers
|
|
|
|
USE_BZIP2= yes
|
|
USE_OPENSSL= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= gnomehack pkgconfig
|
|
USE_LDCONFIG= yes
|
|
|
|
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
|
|
OPENSSL_LIBS="-L${OPENSSLLIB} -lssl"
|
|
|
|
CONFIGURE_ARGS= --disable-crypto-engine-gnutls
|
|
|
|
MAN8= pkcs11-helper-1.8
|
|
|
|
PORTDOCS= *
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|' \
|
|
${WRKSRC}/configure
|
|
.if defined(NOPORTDOCS)
|
|
@${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am|' \
|
|
${WRKSRC}/Makefile.in
|
|
.endif
|
|
|
|
|
|
.include <bsd.port.mk>
|