View | Details | Raw Unified | Return to bug 242550 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-10 / +6 lines)
Lines 2-11 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	postfwd
4
PORTNAME=	postfwd
5
PORTVERSION=	1.35
5
PORTVERSION=	2.02
6
PORTREVISION=	1
6
PORTREVISION=	1
7
CATEGORIES=	mail
7
CATEGORIES=	mail
8
MASTER_SITES=	http://www.${PORTNAME}.org/old/
8
DISTVERSIONPREFIX=	v
9
DISTVERSION=    2.02
10
USE_GITHUB=     yes
9
PKGNAMEPREFIX=	postfix-
11
PKGNAMEPREFIX=	postfix-
10
12
11
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
Lines 26-37 Link Here
26
USE_PERL5=	run
28
USE_PERL5=	run
27
NO_BUILD=	yes
29
NO_BUILD=	yes
28
30
29
OPTIONS_DEFINE=	EXAMPLES DOCS POSTFWD2
31
OPTIONS_DEFINE=	EXAMPLES DOCS
30
POSTFWD2_DESC=	Install postfwd v2 rather than v1
31
32
32
do-install:
33
do-install:
33
	@${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.cf.sample ${STAGEDIR}${ETCDIR}
34
	@${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.cf.sample ${STAGEDIR}${ETCDIR}
34
	@${INSTALL_MAN} ${WRKSRC}/man/man8/* ${STAGEDIR}${MANPREFIX}/man/man8
35
	@${INSTALL_MAN} ${WRKSRC}/man/man8/* ${STAGEDIR}${MANPREFIX}/man/man8
36
	@${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME}3 ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
35
37
36
post-install-DOCS-on:
38
post-install-DOCS-on:
37
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
39
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
Lines 42-51 Link Here
42
	${INSTALL_DATA} ${WRKSRC}/tools/request.sample ${STAGEDIR}${EXAMPLESDIR}
44
	${INSTALL_DATA} ${WRKSRC}/tools/request.sample ${STAGEDIR}${EXAMPLESDIR}
43
	${INSTALL_DATA} ${WRKSRC}/plugins/postfwd.plugins.sample ${STAGEDIR}${EXAMPLESDIR}
45
	${INSTALL_DATA} ${WRKSRC}/plugins/postfwd.plugins.sample ${STAGEDIR}${EXAMPLESDIR}
44
46
45
do-install-POSTFWD2-on:
46
	@${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME}2 ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
47
48
do-install-POSTFWD2-off:
49
	@${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
50
51
.include <bsd.port.mk>
47
.include <bsd.port.mk>
(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (postfwd-1.35.tar.gz) = 42abf8fc1229e8a09fa0141b6e23e34c6e1b654a56f6e7556d04067eafc77c41
1
TIMESTAMP = 1575902368
2
SIZE (postfwd-1.35.tar.gz) = 354609
2
SHA256 (postfwd-postfwd-v2.02_GH0.tar.gz) = 38d191b825192c7a884aef8f6a10ef5f93860df7428c9fab645eab81bdfcf6af
3
SIZE (postfwd-postfwd-v2.02_GH0.tar.gz) = 266603
(-)pkg-plist (-5 / +4 lines)
Lines 4-9 Link Here
4
man/man8/postfwd2.8.gz
4
man/man8/postfwd2.8.gz
5
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
5
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
6
%%PORTDOCS%%%%DOCSDIR%%/arch.html
6
%%PORTDOCS%%%%DOCSDIR%%/arch.html
7
%%PORTDOCS%%%%DOCSDIR%%/docker.txt
7
%%PORTDOCS%%%%DOCSDIR%%/hapolicy.html
8
%%PORTDOCS%%%%DOCSDIR%%/hapolicy.html
8
%%PORTDOCS%%%%DOCSDIR%%/hapolicy.txt
9
%%PORTDOCS%%%%DOCSDIR%%/hapolicy.txt
9
%%PORTDOCS%%%%DOCSDIR%%/postfwd-ARCH.png
10
%%PORTDOCS%%%%DOCSDIR%%/postfwd-ARCH.png
Lines 10-20 Link Here
10
%%PORTDOCS%%%%DOCSDIR%%/postfwd.CHANGELOG
11
%%PORTDOCS%%%%DOCSDIR%%/postfwd.CHANGELOG
11
%%PORTDOCS%%%%DOCSDIR%%/postfwd.html
12
%%PORTDOCS%%%%DOCSDIR%%/postfwd.html
12
%%PORTDOCS%%%%DOCSDIR%%/postfwd.txt
13
%%PORTDOCS%%%%DOCSDIR%%/postfwd.txt
13
%%PORTDOCS%%%%DOCSDIR%%/postfwd2-chroot.html
14
%%PORTDOCS%%%%DOCSDIR%%/postfwd3.CHANGELOG
14
%%PORTDOCS%%%%DOCSDIR%%/postfwd2-chroot.txt
15
%%PORTDOCS%%%%DOCSDIR%%/postfwd3.html
15
%%PORTDOCS%%%%DOCSDIR%%/postfwd2.CHANGELOG
16
%%PORTDOCS%%%%DOCSDIR%%/postfwd3.txt
16
%%PORTDOCS%%%%DOCSDIR%%/postfwd2.html
17
%%PORTDOCS%%%%DOCSDIR%%/postfwd2.txt
18
%%PORTDOCS%%%%DOCSDIR%%/quick.html
17
%%PORTDOCS%%%%DOCSDIR%%/quick.html
19
%%PORTDOCS%%%%DOCSDIR%%/versions.html
18
%%PORTDOCS%%%%DOCSDIR%%/versions.html
20
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/postfwd.plugins.sample
19
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/postfwd.plugins.sample

Return to bug 242550