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

(-)b/devel/cvsweb3/Makefile (-27 / +18 lines)
Lines 8-13 CATEGORIES= devel www Link Here
8
MASTER_SITES=	${MASTER_SITE_LOCAL} \
8
MASTER_SITES=	${MASTER_SITE_LOCAL} \
9
		http://people.FreeBSD.org/~scop/cvsweb/
9
		http://people.FreeBSD.org/~scop/cvsweb/
10
MASTER_SITE_SUBDIR=	scop
10
MASTER_SITE_SUBDIR=	scop
11
PKGNAMESUFFIX=	3
11
12
12
# For issues that are not specific to this port/package, please consult
13
# For issues that are not specific to this port/package, please consult
13
# the <freebsd-cvsweb@FreeBSD.org> mailing list.
14
# the <freebsd-cvsweb@FreeBSD.org> mailing list.
Lines 27-39 RUN_DEPENDS+= p5-MIME-Types>=0:${PORTSDIR}/mail/p5-MIME-Types \ Link Here
27
PAPERSIZE?=	letter
28
PAPERSIZE?=	letter
28
RUN_DEPENDS+=	enscript:${PORTSDIR}/print/enscript-${PAPERSIZE}
29
RUN_DEPENDS+=	enscript:${PORTSDIR}/print/enscript-${PAPERSIZE}
29
30
30
PKGNAMESUFFIX=	3
31
CONFLICTS=	cvsweb-2.*
31
CONFLICTS=	cvsweb-2.*
32
32
33
USES=		perl5
33
USES=		perl5
34
NO_BUILD=	yes
34
NO_BUILD=	yes
35
35
36
NO_STAGE=	yes
37
.include <bsd.port.pre.mk>
36
.include <bsd.port.pre.mk>
38
37
39
# Specify where your repository belongs.
38
# Specify where your repository belongs.
Lines 51-59 CGIDIR?= www/cgi-bin Link Here
51
ICONSDIR?=	www/icons
50
ICONSDIR?=	www/icons
52
CSSDIR?=	www/data/css
51
CSSDIR?=	www/data/css
53
.elif exists(${PREFIX}/www/apache22/cgi-bin)
52
.elif exists(${PREFIX}/www/apache22/cgi-bin)
54
CGIDIR?=       www/apache22/cgi-bin
53
CGIDIR?=	www/apache22/cgi-bin
55
ICONSDIR?=     www/apache22/icons
54
ICONSDIR?=	www/apache22/icons
56
CSSDIR?=       www/apache22/data/css
55
CSSDIR?=	www/apache22/data/css
57
.elif exists(${PREFIX}/apache/cgi-bin)
56
.elif exists(${PREFIX}/apache/cgi-bin)
58
CGIDIR?=	apache/cgi-bin
57
CGIDIR?=	apache/cgi-bin
59
ICONSDIR?=	apache/icons
58
ICONSDIR?=	apache/icons
Lines 85-115 post-patch: Link Here
85
		${WRKSRC}/cvsweb.conf
84
		${WRKSRC}/cvsweb.conf
86
85
87
do-install:
86
do-install:
88
	${MKDIR} ${PREFIX}/${CGIDIR}
87
	${MKDIR} ${STAGEDIR}${PREFIX}/${CGIDIR}
89
	${INSTALL_SCRIPT} ${WRKSRC}/cvsweb.cgi ${PREFIX}/${CGIDIR}/
88
	${INSTALL_SCRIPT} ${WRKSRC}/cvsweb.cgi ${STAGEDIR}${PREFIX}/${CGIDIR}/
90
	${MKDIR} ${PREFIX}/etc/cvsweb
89
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/cvsweb
91
.for f in ${CONFFILES}
90
.for f in ${CONFFILES}
92
	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/etc/cvsweb/${f}.dist
91
	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/etc/cvsweb/${f}.dist
93
.endfor
92
.endfor
94
	${MKDIR} ${PREFIX}/${ICONSDIR}/cvsweb
93
	${MKDIR} ${STAGEDIR}${PREFIX}/${ICONSDIR}/cvsweb
95
	${INSTALL_DATA} ${WRKSRC}/icons/* ${PREFIX}/${ICONSDIR}/cvsweb/
94
	${INSTALL_DATA} ${WRKSRC}/icons/* ${STAGEDIR}${PREFIX}/${ICONSDIR}/cvsweb/
96
	${MKDIR} ${PREFIX}/${CSSDIR}/cvsweb
95
	${MKDIR} ${STAGEDIR}${PREFIX}/${CSSDIR}/cvsweb
97
	${INSTALL_DATA} ${WRKSRC}/css/*.css ${PREFIX}/${CSSDIR}/cvsweb/
96
	${INSTALL_DATA} ${WRKSRC}/css/*.css ${STAGEDIR}${PREFIX}/${CSSDIR}/cvsweb/
98
	${MKDIR} ${PREFIX}/share/enscript/hl
97
	${MKDIR} ${STAGEDIR}${PREFIX}/share/enscript/hl
99
	${INSTALL_DATA} ${WRKSRC}/enscript/*.st ${PREFIX}/share/enscript/hl/
98
	${INSTALL_DATA} ${WRKSRC}/enscript/*.st ${STAGEDIR}${PREFIX}/share/enscript/hl/
100
.if !defined(NOPORTDOCS)
99
	${MKDIR} ${STAGEDIR}${DOCSDIR}
101
	${MKDIR} ${DOCSDIR}
102
.for f in ChangeLog INSTALL NEWS README TODO
100
.for f in ChangeLog INSTALL NEWS README TODO
103
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
101
	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
104
.endfor
102
.endfor
105
	${MKDIR} ${EXAMPLESDIR}
103
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
106
	${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR}/
104
	${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR}/
107
.endif
108
109
post-install:
110
.if defined(PACKAGE_BUILDING)
111
	${ECHO_CMD} "@unexec rmdir -p %D/${CGIDIR} %D/${ICONSDIR} %D/${CSSDIR} 2>/dev/null || true" >> ${TMPPLIST}
112
.endif
113
	@${CAT} ${PKGMESSAGE}
114
105
115
.include <bsd.port.post.mk>
106
.include <bsd.port.post.mk>
(-)b/devel/cvsweb3/pkg-plist (-3 / +8 lines)
Lines 10-17 etc/cvsweb/cvsweb.conf-ruby.dist Link Here
10
%%PORTDOCS%%%%DOCSDIR%%/README
10
%%PORTDOCS%%%%DOCSDIR%%/README
11
%%PORTDOCS%%%%DOCSDIR%%/TODO
11
%%PORTDOCS%%%%DOCSDIR%%/TODO
12
%%PORTDOCS%%@dirrm %%DOCSDIR%%
12
%%PORTDOCS%%@dirrm %%DOCSDIR%%
13
%%PORTDOCS%%%%EXAMPLESDIR%%/cvsweb-httpd.conf
13
%%EXAMPLES%%%EXAMPLESDIR%%/cvsweb-httpd.conf
14
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
14
%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%
15
%%CGIDIR%%/cvsweb.cgi
15
%%CGIDIR%%/cvsweb.cgi
16
%%ICONSDIR%%/cvsweb/back.gif
16
%%ICONSDIR%%/cvsweb/back.gif
17
%%ICONSDIR%%/cvsweb/binary.gif
17
%%ICONSDIR%%/cvsweb/binary.gif
Lines 21-29 etc/cvsweb/cvsweb.conf-ruby.dist Link Here
21
%%ICONSDIR%%/cvsweb/minigraph.png
21
%%ICONSDIR%%/cvsweb/minigraph.png
22
%%ICONSDIR%%/cvsweb/minitext.gif
22
%%ICONSDIR%%/cvsweb/minitext.gif
23
%%ICONSDIR%%/cvsweb/text.gif
23
%%ICONSDIR%%/cvsweb/text.gif
24
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
24
@dirrm %%ICONSDIR%%/cvsweb
25
@dirrm %%ICONSDIR%%/cvsweb
25
%%CSSDIR%%/cvsweb/cvsweb.css
26
%%CSSDIR%%/cvsweb/cvsweb.css
26
@dirrm %%CSSDIR%%/cvsweb
27
@dirrm %%CSSDIR%%/cvsweb
27
share/enscript/hl/lang_cvsweb.st
28
share/enscript/hl/lang_cvsweb.st
28
share/enscript/hl/lang_cvsweb_diff.st
29
share/enscript/hl/lang_cvsweb_diff.st
29
@dirrmtry share/enscript/hl
30
@dirrmtry %%CGIDIR%%
31
@dirrmtry %%CSSDIR%%
32
@dirrmtry share/apache/data
33
@dirrmtry %%ICONSDIR%%
34
@dirrmtry share/apache
(-)b/devel/easygit/Makefile (-4 / +5 lines)
Lines 15-29 COMMENT= Easy wrapper for git Link Here
15
RUN_DEPENDS=	git:${PORTSDIR}/devel/git
15
RUN_DEPENDS=	git:${PORTSDIR}/devel/git
16
16
17
DIST_SUBDIR=	eg/${PORTVERSION}_${PORTREVISION}
17
DIST_SUBDIR=	eg/${PORTVERSION}_${PORTREVISION}
18
USES=		perl5
18
USES=		perl5 shebangfix
19
SHEBANG_FILES=	${_DISTDIR}/eg
19
USE_PERL5=	run
20
USE_PERL5=	run
20
NO_WRKSUBDIR=	yes
21
NO_WRKSUBDIR=	yes
21
NO_BUILD=	yes
22
NO_BUILD=	yes
22
PLIST_FILES=	bin/eg bin/easygit
23
PLIST_FILES=	bin/eg bin/easygit
23
24
24
NO_STAGE=	yes
25
do-install:
25
do-install:
26
	${INSTALL_SCRIPT} ${_DISTDIR}/eg ${PREFIX}/bin/
26
	${MKDIR} ${STAGEDIR}${PREFIX}/bin
27
	${LN} -s ${PREFIX}/bin/eg ${PREFIX}/bin/easygit
27
	${INSTALL_SCRIPT} ${_DISTDIR}/eg ${STAGEDIR}${PREFIX}/bin/
28
	cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ./eg ${STAGEDIR}${PREFIX}/bin/easygit
28
29
29
.include <bsd.port.mk>
30
.include <bsd.port.mk>

Return to bug 191289