View | Details | Raw Unified | Return to bug 189891
Collapse All | Expand All

(-)hashcash/Makefile (-2 / +15 lines)
Lines 10-25 Link Here
10
MAINTAINER=	chalpin@cs.wisc.edu
10
MAINTAINER=	chalpin@cs.wisc.edu
11
COMMENT=	Anti-spam / denial of service counter-measure tool
11
COMMENT=	Anti-spam / denial of service counter-measure tool
12
12
13
LICENSE=BSD LGPL21 GPLv2
14
LICENSE_COMB=dual
15
16
# Also CPL: https://en.wikipedia.org/wiki/Common_Public_License
17
# and Public Domain
18
13
MAN1=		hashcash.1 sha1-hashcash.1
19
MAN1=		hashcash.1 sha1-hashcash.1
14
PLIST_FILES=	bin/hashcash bin/sha1
20
PLIST_FILES=	bin/hashcash bin/sha1
21
PLIST_FILES+= man/man1/hashcash.1.gz
22
PLIST_FILES+= man/man1/sha1-hashcash.1.gz
23
15
PORTDOCS=	CHANGELOG LICENSE README
24
PORTDOCS=	CHANGELOG LICENSE README
16
ALL_TARGET=	generic
25
ALL_TARGET=	generic
17
NO_STAGE=	yes
18
26
19
.if defined(NOPORTDOCS)
27
MAKE_ENV+= STAGEDIR=${STAGEDIR}
28
29
.include <bsd.port.options.mk>
30
31
.if !${PORT_OPTIONS:MDOCS}
20
32
21
post-patch:
33
post-patch:
22
	${REINPLACE_CMD} -e '/DOC_INSTALL_PATH/d' ${WRKSRC}/Makefile
34
	${REINPLACE_CMD} -e '/DOC_INSTALL_PATH/d' ${WRKSRC}/Makefile
35
23
.endif
36
.endif
24
37
25
.include <bsd.port.mk>
38
.include <bsd.port.mk>
(-)hashcash/files/patch-Makefile (-3 / +3 lines)
Lines 7-15 Link Here
7
-INSTALL_PATH = /usr/bin
7
-INSTALL_PATH = /usr/bin
8
-MAN_INSTALL_PATH = /usr/share/man/man1
8
-MAN_INSTALL_PATH = /usr/share/man/man1
9
-DOC_INSTALL_PATH = /usr/share/doc/hashcash-$(HC_VERS)
9
-DOC_INSTALL_PATH = /usr/share/doc/hashcash-$(HC_VERS)
10
+INSTALL_PATH = ${PREFIX}/bin
10
+INSTALL_PATH = ${STAGEDIR}${PREFIX}/bin
11
+MAN_INSTALL_PATH = ${PREFIX}/man/man1
11
+MAN_INSTALL_PATH = ${STAGEDIR}${PREFIX}/man/man1
12
+DOC_INSTALL_PATH = ${PREFIX}/share/doc/hashcash
12
+DOC_INSTALL_PATH = ${STAGEDIR}${PREFIX}/share/doc/hashcash
13
 MAKEDEPEND = makedepend
13
 MAKEDEPEND = makedepend
14
 MSLIB = mslib 
14
 MSLIB = mslib 
15
 # here you can choose the regexp style your system has
15
 # here you can choose the regexp style your system has
(-)hashcash/pkg-descr (-1 / +1 lines)
Lines 4-7 Link Here
4
parameterizable amount of work to compute for the sender.  
4
parameterizable amount of work to compute for the sender.  
5
5
6
Author: Adam Back <adam@cypherspace.org>
6
Author: Adam Back <adam@cypherspace.org>
7
WWW:    http://www.hashcash.org/
7
WWW: http://www.hashcash.org/

Return to bug 189891