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

(-)Makefile (-15 / +9 lines)
Lines 17-37 Link Here
17
17
18
RUN_DEPENDS=	rubygem-dnsruby>=1.47:${PORTSDIR}/dns/rubygem-dnsruby
18
RUN_DEPENDS=	rubygem-dnsruby>=1.47:${PORTSDIR}/dns/rubygem-dnsruby
19
19
20
USE_GMAKE=	yes
20
USES=	gmake
21
USE_RUBY=	yes
21
USE_RUBY=	yes
22
22
23
NO_BUILD=	yes
23
NO_BUILD=	yes
24
WRKSRC=		${WRKDIR}/${PORTNAME}
24
WRKSRC=		${WRKDIR}/${PORTNAME}
25
25
26
MAN1=		zonecheck.1
26
DOCS=		BUGS CREDITS HISTORY INSTALL README TODO
27
DOCS=		BUGS INSTALL README TODO
28
27
29
OPTIONS_DEFINE=		CGI
28
OPTIONS_DEFINE=		CGI
30
OPTIONS_DEFAULT=	
29
OPTIONS_DEFAULT=
30
OPTIONS_SUB=
31
31
32
CGI_DESC=	Install with CGI support
32
CGI_DESC=	Install with CGI support
33
33
34
NO_STAGE=	yes
35
.include <bsd.port.options.mk>
34
.include <bsd.port.options.mk>
36
35
37
ZONECHECK_TARGET=	common cli
36
ZONECHECK_TARGET=	common cli
Lines 38-58 Link Here
38
37
39
.if ${PORT_OPTIONS:MCGI}
38
.if ${PORT_OPTIONS:MCGI}
40
ZONECHECK_TARGET+=	cgi
39
ZONECHECK_TARGET+=	cgi
41
PLIST_SUB+=	ZONECHECK_CGI=""
42
.else
43
PLIST_SUB+=	ZONECHECK_CGI="@comment "
44
.endif
40
.endif
45
41
46
do-install:
42
do-install:
47
	@cd ${INSTALL_WRKSRC} && \
43
	cd ${INSTALL_WRKSRC} && \
48
		${RUBY} ./installer.rb ${ZONECHECK_TARGET} \
44
		${SETENV} LANG=en_US.UTF-8 ${RUBY} ./installer.rb ${ZONECHECK_TARGET} \
49
		-DETCDIST='-dist' -DRUBY="${RUBY}" -DPREFIX="${PREFIX}" \
45
		-DETCDIST='-dist' -DRUBY="${RUBY}" -DPREFIX="${PREFIX}" \
50
		-DWWWDIR="${PREFIX}/www/${PORTNAME}"
46
		-DWWWDIR="${PREFIX}/www/${PORTNAME}" -DCHROOT="${STAGEDIR}"
51
47
52
.if ${PORT_OPTIONS:MDOCS}
53
post-install:
48
post-install:
54
	@${MKDIR} ${DOCSDIR}
49
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
55
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
50
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
56
.endif
57
51
58
.include <bsd.port.mk>
52
.include <bsd.port.mk>
(-)pkg-plist (-30 / +33 lines)
Lines 6-14 Link Here
6
etc/zonecheck-dist/reverse.profile
6
etc/zonecheck-dist/reverse.profile
7
etc/zonecheck-dist/rootservers
7
etc/zonecheck-dist/rootservers
8
etc/zonecheck-dist/zc.conf
8
etc/zonecheck-dist/zc.conf
9
man/man1/zonecheck.1.gz
9
@dirrm etc/zonecheck-dist
10
@dirrm etc/zonecheck-dist
10
%%ZONECHECK_CGI%%libexec/zonecheck/cgi-bin/zc.cgi
11
%%CGI%%libexec/zonecheck/cgi-bin/zc.cgi
11
%%ZONECHECK_CGI%%@dirrm libexec/zonecheck/cgi-bin
12
%%CGI%%@dirrm libexec/zonecheck/cgi-bin
12
libexec/zonecheck/lib/textfmt.rb
13
libexec/zonecheck/lib/textfmt.rb
13
libexec/zonecheck/locale/cgi.en
14
libexec/zonecheck/locale/cgi.en
14
libexec/zonecheck/locale/cgi.fr
15
libexec/zonecheck/locale/cgi.fr
Lines 101-135 Link Here
101
@dirrm libexec/zonecheck/zc
102
@dirrm libexec/zonecheck/zc
102
@dirrm libexec/zonecheck
103
@dirrm libexec/zonecheck
103
%%PORTDOCS%%%%DOCSDIR%%/BUGS
104
%%PORTDOCS%%%%DOCSDIR%%/BUGS
105
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
106
%%PORTDOCS%%%%DOCSDIR%%/HISTORY
104
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
107
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
105
%%PORTDOCS%%%%DOCSDIR%%/README
108
%%PORTDOCS%%%%DOCSDIR%%/README
106
%%PORTDOCS%%%%DOCSDIR%%/TODO
109
%%PORTDOCS%%%%DOCSDIR%%/TODO
107
%%PORTDOCS%%@dirrm %%DOCSDIR%%
110
%%PORTDOCS%%@dirrm %%DOCSDIR%%
108
%%ZONECHECK_CGI%%www/zonecheck/html/form.html.en
111
%%CGI%%www/zonecheck/html/form.html.en
109
%%ZONECHECK_CGI%%www/zonecheck/html/form.html.fr
112
%%CGI%%www/zonecheck/html/form.html.fr
110
%%ZONECHECK_CGI%%www/zonecheck/zonecheck.conf.in
113
%%CGI%%www/zonecheck/zonecheck.conf.in
111
%%ZONECHECK_CGI%%www/zonecheck/img/details.png
114
%%CGI%%www/zonecheck/img/details.png
112
%%ZONECHECK_CGI%%www/zonecheck/img/element.png
115
%%CGI%%www/zonecheck/img/element.png
113
%%ZONECHECK_CGI%%www/zonecheck/img/fatal.png
116
%%CGI%%www/zonecheck/img/fatal.png
114
%%ZONECHECK_CGI%%www/zonecheck/img/gear.png
117
%%CGI%%www/zonecheck/img/gear.png
115
%%ZONECHECK_CGI%%www/zonecheck/img/info.png
118
%%CGI%%www/zonecheck/img/info.png
116
%%ZONECHECK_CGI%%www/zonecheck/img/light.png
119
%%CGI%%www/zonecheck/img/light.png
117
%%ZONECHECK_CGI%%www/zonecheck/img/logo.png
120
%%CGI%%www/zonecheck/img/logo.png
118
%%ZONECHECK_CGI%%www/zonecheck/img/loupe.png
121
%%CGI%%www/zonecheck/img/loupe.png
119
%%ZONECHECK_CGI%%www/zonecheck/img/notepad.png
122
%%CGI%%www/zonecheck/img/notepad.png
120
%%ZONECHECK_CGI%%www/zonecheck/img/ok.png
123
%%CGI%%www/zonecheck/img/ok.png
121
%%ZONECHECK_CGI%%www/zonecheck/img/primary.png
124
%%CGI%%www/zonecheck/img/primary.png
122
%%ZONECHECK_CGI%%www/zonecheck/img/ref.png
125
%%CGI%%www/zonecheck/img/ref.png
123
%%ZONECHECK_CGI%%www/zonecheck/img/secondary.png
126
%%CGI%%www/zonecheck/img/secondary.png
124
%%ZONECHECK_CGI%%www/zonecheck/img/warning.png
127
%%CGI%%www/zonecheck/img/warning.png
125
%%ZONECHECK_CGI%%www/zonecheck/img/zc-fav.png
128
%%CGI%%www/zonecheck/img/zc-fav.png
126
%%ZONECHECK_CGI%%www/zonecheck/img/zone.png
129
%%CGI%%www/zonecheck/img/zone.png
127
%%ZONECHECK_CGI%%www/zonecheck/js/formvalidation.js
130
%%CGI%%www/zonecheck/js/formvalidation.js
128
%%ZONECHECK_CGI%%www/zonecheck/js/popupmenu.js
131
%%CGI%%www/zonecheck/js/popupmenu.js
129
%%ZONECHECK_CGI%%www/zonecheck/js/progress.js
132
%%CGI%%www/zonecheck/js/progress.js
130
%%ZONECHECK_CGI%%www/zonecheck/style/zc.css
133
%%CGI%%www/zonecheck/style/zc.css
131
%%ZONECHECK_CGI%%@dirrm www/zonecheck/html
134
%%CGI%%@dirrm www/zonecheck/html
132
%%ZONECHECK_CGI%%@dirrm www/zonecheck/img
135
%%CGI%%@dirrm www/zonecheck/img
133
%%ZONECHECK_CGI%%@dirrm www/zonecheck/js
136
%%CGI%%@dirrm www/zonecheck/js
134
%%ZONECHECK_CGI%%@dirrm www/zonecheck/style
137
%%CGI%%@dirrm www/zonecheck/style
135
%%ZONECHECK_CGI%%@dirrm www/zonecheck
138
%%CGI%%@dirrm www/zonecheck

Return to bug 183413