svn commit: r332668 - in head/security: . pkesh
Alexey Dokuchaev
danfe at FreeBSD.org
Wed Nov 6 07:10:45 UTC 2013
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 at 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
More information about the svn-ports-all
mailing list