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> |