From 75c140ca828348456c2835b68f84e4f37e021a70 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 20 Feb 2015 10:34:54 +0100 Subject: [PATCH] netpgp: set and install license correctly; remove obsolete replaces. --- srcpkgs/netpgp/template | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/srcpkgs/netpgp/template b/srcpkgs/netpgp/template index 2ed6f26f68..9885e8097e 100644 --- a/srcpkgs/netpgp/template +++ b/srcpkgs/netpgp/template @@ -1,13 +1,13 @@ # Template file for 'netpgp' pkgname=netpgp version=20140220 -revision=2 +revision=3 build_style=gnu-configure hostmakedepends="automake libtool pkg-config" makedepends="zlib-devel bzip2-devel libressl-devel" short_desc="PGP signing, verification, encryption and decryption program" maintainer="Juan RP " -license="BSD" +license="3-clause-BSD" homepage="http://www.netbsd.org" distfiles="ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/LOCAL_PORTS/netpgp-${version}.tar.gz" checksum=fbe403f037376a40afd19bc8a1786b55b67cf8092a723ef36a61d99260b66dbf @@ -15,15 +15,16 @@ checksum=fbe403f037376a40afd19bc8a1786b55b67cf8092a723ef36a61d99260b66dbf pre_configure() { autoreconf -fi } +post_install() { + vlicense Licence LICENSE +} libmj_package() { - replaces="libnetpgp<20140211" short_desc="Minimalist JSON lightweight data interchange library" pkg_install() { vmove "usr/lib/libmj.so.*" } } - libmj-devel_package() { short_desc="Minimalist JSON lightweight data interchange library - development files" depends="libmj>=${version}_${revision}" @@ -34,14 +35,12 @@ libmj-devel_package() { vmove usr/share/man/man3/libmj.3 } } - libnetpgp_package() { short_desc="BSD licensed library for PGP tasks" pkg_install() { vmove "usr/lib/*.so.*" } } - libnetpgp-devel_package() { depends="${makedepends} libnetpgp>=${version}_${revision}" short_desc="BSD licensed library for PGP tasks - development files"