Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2013 07:10:44 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Colin Percival <cperciva@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r332668 - in head/security: . pkesh
Message-ID:  <20131106071044.GF60770@FreeBSD.org>
In-Reply-To: <201311040605.rA465DDm028738@svn.freebsd.org>
References:  <201311040605.rA465DDm028738@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 04, 2013 at 06:05:13AM +0000, Colin Percival wrote:
> New Revision: 332668
> URL: http://svnweb.freebsd.org/changeset/ports/332668
> 
> Log:
>   pkesh is a Public Key Encryption SHell script.  Think GPG with 99.9% less
>   code and without the web-of-trust mechanism: pkesh encrypts data to a key,
>   and it's up to you to make sure it's the correct key.
> 
> +MAINTAINER=	cperciva@FreeBSD.org
> +COMMENT=	Public Key Encryption SHell script
> +
> +LICENSE=	BSD
> +
> +NO_BUILD=	YES
> +NO_INSTALL=	YES

In ports world (in constrast with src) these are normally spelled "yes".

> +PLIST_FILES=	bin/pkesh			\
> +		%%PORTDOCS%%%%DOCSDIR%%/README
> +PLIST_DIRS=	%%DOCSDIR%%

Using PORTDOCS=README would allow you to 1) get tid of eye-tearing %%'s in
PLIST_FILES and drop PLIST_DIRS.

> +do-install:
> +	${INSTALL_SCRIPT} ${WRKSRC}/pkesh.sh ${STAGEDIR}${PREFIX}/bin/pkesh
> +
> +post-install:
> +	${MKDIR} ${STAGEDIR}${DOCSDIR}
> +	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

You could've simply merged all commands in do-install target.  No need for
two of them, really. :-)

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131106071044.GF60770>