diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-12-18 05:46:42 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-12-18 05:46:42 +0800 |
commit | a5ebe30f0392ffb7fdf131a7a9920ae91550fff8 (patch) | |
tree | 4ad9ef145965512a9d36c86d1d6c0e2a046d5637 /security/nss/Makefile | |
parent | 4a2971339141640339e175a46d3405abba3d8605 (diff) | |
download | marcuscom-ports-a5ebe30f0392ffb7fdf131a7a9920ae91550fff8.tar marcuscom-ports-a5ebe30f0392ffb7fdf131a7a9920ae91550fff8.tar.gz marcuscom-ports-a5ebe30f0392ffb7fdf131a7a9920ae91550fff8.tar.bz2 marcuscom-ports-a5ebe30f0392ffb7fdf131a7a9920ae91550fff8.tar.lz marcuscom-ports-a5ebe30f0392ffb7fdf131a7a9920ae91550fff8.tar.xz marcuscom-ports-a5ebe30f0392ffb7fdf131a7a9920ae91550fff8.tar.zst marcuscom-ports-a5ebe30f0392ffb7fdf131a7a9920ae91550fff8.zip |
Only install what's necessary for ports that depend on nss. This avoids
library conflicts and file CONFLICTS.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8051 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'security/nss/Makefile')
-rw-r--r-- | security/nss/Makefile | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/security/nss/Makefile b/security/nss/Makefile index 61297e6de..c1a8920bd 100644 --- a/security/nss/Makefile +++ b/security/nss/Makefile @@ -3,11 +3,11 @@ # Whom: Maxim Sobolev <sobomax@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/security/nss/Makefile,v 1.4 2006/12/09 16:59:42 ahze Exp $ +# $MCom: ports/security/nss/Makefile,v 1.5 2006/12/17 18:42:25 ahze Exp $ PORTNAME= nss PORTVERSION= ${_MAJOR}.${_MINOR}.${_PATCH} -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_MOZILLA} MASTER_SITE_SUBDIR= security/nss/releases/NSS_${PORTVERSION:S/./_/g}_RTM/src @@ -15,13 +15,13 @@ MASTER_SITE_SUBDIR= security/nss/releases/NSS_${PORTVERSION:S/./_/g}_RTM/src MAINTAINER= gnome@FreeBSD.org COMMENT= Libraries to support development of security-enabled applications +BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip +LIB_DEPENDS= nspr4.1:${PORTSDIR}/devel/nspr + _MAJOR= 3 _MINOR= 11 _PATCH= 4 -BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip -LIB_DEPENDS= nspr4.1:${PORTSDIR}/devel/nspr - WRKSRC= ${WRKDIR}/${DISTNAME}/mozilla/security/nss USE_LDCONFIG= ${PREFIX}/lib/nss @@ -46,6 +46,11 @@ EXTRACT_AFTER_ARGS=| ${TAR} -xf - \ BINS=${DIST}/${OPSYS}${OSREL}_OPT.OBJ +INSTALL_BINS= certcgi certutil checkcert cmsutil crlutil derdump makepqg \ + mangle modutil ocspclnt oidcalc p7content p7env p7sign \ + p7verify pk12util rsaperf shlibsign signtool signver \ + ssltap strsclnt symkeyutil vfychain vfyserv + test: cd ${WRKSRC}/tests; \ ${SETENV} PATH="${BINS}/bin:${PATH}" \ @@ -77,10 +82,16 @@ do-install: ${MKDIR} ${PREFIX}/include/nss ${PREFIX}/lib/nss ${TAR} -C ${DIST}/public --dereference -cf - . | \ ${TAR} -C ${PREFIX}/include/nss -xf - - ${INSTALL_DATA} ${DIST}/FreeBSD${OSREL:C/.$/*/}_OPT.OBJ/lib/* \ + ${INSTALL_DATA} ${DIST}/FreeBSD${OSREL:C/.$/*/}_OPT.OBJ/lib/*.so.1 \ ${PREFIX}/lib/nss - ${INSTALL_PROGRAM} ${DIST}/FreeBSD${OSREL:C/.$/*/}_OPT.OBJ/bin/* \ + ${INSTALL_DATA} ${DIST}/FreeBSD${OSREL:C/.$/*/}_OPT.OBJ/lib/libcrmf.a \ + ${PREFIX}/lib/nss +.for bin in ${INSTALL_BINS} + ${INSTALL_PROGRAM} ${DIST}/FreeBSD${OSREL:C/.$/*/}_OPT.OBJ/bin/${bin} \ ${PREFIX}/bin +.endfor + cd ${DIST}/FreeBSD${OSREL:C/.$/*/}_OPT.OBJ/lib && \ + ${TAR} -cf - *.so | ${TAR} --unlink -C ${PREFIX}/lib/nss -xf - ${INSTALL_SCRIPT} ${WRKDIR}/nss-config ${PREFIX}/bin ${INSTALL_DATA} ${WRKDIR}/nss.pc ${PREFIX}/libdata/pkgconfig |