diff options
author | miwi <miwi@FreeBSD.org> | 2014-05-19 11:36:42 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2014-05-19 11:36:42 +0800 |
commit | f9fa809bb051e429ae465364fa2232ca9236e045 (patch) | |
tree | 963f8365ded2dcb28a370ee664a314a18133b765 /mail | |
parent | 05c72c485518abc0c1c24937756872947ebeee3d (diff) | |
download | freebsd-ports-gnome-f9fa809bb051e429ae465364fa2232ca9236e045.tar.gz freebsd-ports-gnome-f9fa809bb051e429ae465364fa2232ca9236e045.tar.zst freebsd-ports-gnome-f9fa809bb051e429ae465364fa2232ca9236e045.zip |
- Stage support
PR: 189891
Submitted by: maintainer
Diffstat (limited to 'mail')
-rw-r--r-- | mail/hashcash/Makefile | 17 | ||||
-rw-r--r-- | mail/hashcash/files/patch-Makefile | 6 | ||||
-rw-r--r-- | mail/hashcash/pkg-descr | 2 |
3 files changed, 19 insertions, 6 deletions
diff --git a/mail/hashcash/Makefile b/mail/hashcash/Makefile index 8481b2eb19dc..5ee7a6ce606b 100644 --- a/mail/hashcash/Makefile +++ b/mail/hashcash/Makefile @@ -10,16 +10,29 @@ EXTRACT_SUFX= .tgz MAINTAINER= chalpin@cs.wisc.edu COMMENT= Anti-spam / denial of service counter-measure tool +LICENSE=BSD LGPL21 GPLv2 +LICENSE_COMB=dual + +# Also CPL: https://en.wikipedia.org/wiki/Common_Public_License +# and Public Domain + MAN1= hashcash.1 sha1-hashcash.1 PLIST_FILES= bin/hashcash bin/sha1 +PLIST_FILES+= man/man1/hashcash.1.gz +PLIST_FILES+= man/man1/sha1-hashcash.1.gz + PORTDOCS= CHANGELOG LICENSE README ALL_TARGET= generic -NO_STAGE= yes -.if defined(NOPORTDOCS) +MAKE_ENV+= STAGEDIR=${STAGEDIR} + +.include <bsd.port.options.mk> + +.if !${PORT_OPTIONS:MDOCS} post-patch: ${REINPLACE_CMD} -e '/DOC_INSTALL_PATH/d' ${WRKSRC}/Makefile + .endif .include <bsd.port.mk> diff --git a/mail/hashcash/files/patch-Makefile b/mail/hashcash/files/patch-Makefile index 2d49a48c0221..93b8d83b87f7 100644 --- a/mail/hashcash/files/patch-Makefile +++ b/mail/hashcash/files/patch-Makefile @@ -7,9 +7,9 @@ -INSTALL_PATH = /usr/bin -MAN_INSTALL_PATH = /usr/share/man/man1 -DOC_INSTALL_PATH = /usr/share/doc/hashcash-$(HC_VERS) -+INSTALL_PATH = ${PREFIX}/bin -+MAN_INSTALL_PATH = ${PREFIX}/man/man1 -+DOC_INSTALL_PATH = ${PREFIX}/share/doc/hashcash ++INSTALL_PATH = ${STAGEDIR}${PREFIX}/bin ++MAN_INSTALL_PATH = ${STAGEDIR}${PREFIX}/man/man1 ++DOC_INSTALL_PATH = ${STAGEDIR}${PREFIX}/share/doc/hashcash MAKEDEPEND = makedepend MSLIB = mslib # here you can choose the regexp style your system has diff --git a/mail/hashcash/pkg-descr b/mail/hashcash/pkg-descr index 01c06d9f198f..bb4f8709d437 100644 --- a/mail/hashcash/pkg-descr +++ b/mail/hashcash/pkg-descr @@ -4,4 +4,4 @@ receive. A hashcash token constitutes a proof-of-work which takes a parameterizable amount of work to compute for the sender. Author: Adam Back <adam@cypherspace.org> -WWW: http://www.hashcash.org/ +WWW: http://www.hashcash.org/ |