1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00

Fix the permissions of the installed header files.

PR:		139245
Submitted by:	Aragon Gouveia <aragon@phat.za.net>
This commit is contained in:
Joe Marcus Clarke 2009-10-04 18:11:09 +00:00
parent d6b7b04707
commit 7c116674ef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=242459

View File

@ -7,6 +7,7 @@
PORTNAME= nss
PORTVERSION= ${_MAJOR}.${_MINOR}.${_PATCH}
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= security/nss/releases/NSS_${PORTVERSION:S/./_/g}_RTM/src
@ -93,9 +94,9 @@ post-patch:
.endif
do-install:
${MKDIR} ${PREFIX}/include/nss ${PREFIX}/lib/nss
${TAR} -C ${DIST}/public --dereference -cf - . | \
${TAR} -C ${PREFIX}/include/nss -xf -
${MKDIR} -p ${PREFIX}/include/nss/nss ${PREFIX}/lib/nss
${FIND} ${DIST}/public/nss -type l \
-exec ${INSTALL_DATA} {} ${PREFIX}/include/nss/nss \;
${INSTALL_DATA} ${DIST}/FreeBSD${OSREL:C/.$/*/}_OPT.OBJ/lib/*.so.1 \
${PREFIX}/lib/nss
${INSTALL_DATA} ${DIST}/FreeBSD${OSREL:C/.$/*/}_OPT.OBJ/lib/libcrmf.a \