diff options
author | danilo <danilo@FreeBSD.org> | 2013-10-11 21:43:52 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-10-11 21:43:52 +0800 |
commit | df7050360e99c9b4153daf127aad2897d0e7da7d (patch) | |
tree | 78f13cdefa832610bed7f2983f774b30ebfdaf79 /security | |
parent | fe52bb45d0a7a1a4644472817fef62b600b0531d (diff) | |
download | freebsd-ports-gnome-df7050360e99c9b4153daf127aad2897d0e7da7d.tar.gz freebsd-ports-gnome-df7050360e99c9b4153daf127aad2897d0e7da7d.tar.zst freebsd-ports-gnome-df7050360e99c9b4153daf127aad2897d0e7da7d.zip |
- Update from 0.4.2 to 0.4.3
- Add USES=pkgconfig
- Add stage support
PR: ports/182591
Submitted by: csosstudy <csosstudy@gmail.com> (maintainer)
Approved by: wg (mentor)
Diffstat (limited to 'security')
-rw-r--r-- | security/libsodium/Makefile | 20 | ||||
-rw-r--r-- | security/libsodium/distinfo | 4 | ||||
-rw-r--r-- | security/libsodium/pkg-plist | 5 |
3 files changed, 16 insertions, 13 deletions
diff --git a/security/libsodium/Makefile b/security/libsodium/Makefile index 446fb184ca1b..efa0ea7d566e 100644 --- a/security/libsodium/Makefile +++ b/security/libsodium/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= libsodium -PORTVERSION= 0.4.2 +PORTVERSION= 0.4.3 CATEGORIES= security MASTER_SITES= http://download.dnscrypt.org/libsodium/releases/ @@ -12,19 +12,21 @@ LICENSE= ISCL GNU_CONFIGURE= yes USE_LDCONFIG= yes +USES= pkgconfig -PORTDOCS= AUTHORS NEWS THANKS +OPTIONS_DEFINE= DOCS + +PORTDOCS= AUTHORS README.markdown THANKS + +post-patch: + @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \ + ${WRKSRC}/Makefile.in -NO_STAGE= yes post-build: cd ${WRKSRC} && ${MAKE} check -.include <bsd.port.options.mk> - post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ -.endif + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ .include <bsd.port.mk> diff --git a/security/libsodium/distinfo b/security/libsodium/distinfo index 8be95f15a642..19df67ced31d 100644 --- a/security/libsodium/distinfo +++ b/security/libsodium/distinfo @@ -1,2 +1,2 @@ -SHA256 (libsodium-0.4.2.tar.gz) = 1a7901cdd127471724e854a8eb478247dc0ca67be549345c75fc6f2d4e05ed39 -SIZE (libsodium-0.4.2.tar.gz) = 502753 +SHA256 (libsodium-0.4.3.tar.gz) = 599ce19ae6ace2d30aee353b931088f720713c4e1d0b2918ed46de1914fb6042 +SIZE (libsodium-0.4.3.tar.gz) = 523169 diff --git a/security/libsodium/pkg-plist b/security/libsodium/pkg-plist index 9a2622e8b36e..1f458e1bc83f 100644 --- a/security/libsodium/pkg-plist +++ b/security/libsodium/pkg-plist @@ -18,7 +18,7 @@ include/sodium/crypto_hashblocks_sha512.h include/sodium/crypto_onetimeauth.h include/sodium/crypto_onetimeauth_poly1305.h include/sodium/crypto_onetimeauth_poly1305_53.h -include/sodium/crypto_onetimeauth_poly1305_ref.h +include/sodium/crypto_onetimeauth_poly1305_donna.h include/sodium/crypto_scalarmult.h include/sodium/crypto_scalarmult_curve25519.h include/sodium/crypto_secretbox.h @@ -50,7 +50,8 @@ include/sodium/randombytes_sysrandom.h include/sodium/utils.h include/sodium/version.h include/sodium.h -lib/libsodium.so.6 +libdata/pkgconfig/libsodium.pc +lib/libsodium.so.7 lib/libsodium.so lib/libsodium.la lib/libsodium.a |