Lines 10-29
Link Here
|
10 |
MAINTAINER= frank@pinky.sax.de |
10 |
MAINTAINER= frank@pinky.sax.de |
11 |
COMMENT= A small and fast caching web proxy |
11 |
COMMENT= A small and fast caching web proxy |
12 |
|
12 |
|
13 |
MAN1= polipo.1 |
13 |
LICENSE= MIT |
|
|
14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
15 |
|
14 |
|
16 |
|
15 |
USE_RC_SUBR= polipo |
17 |
USE_RC_SUBR= polipo |
16 |
|
18 |
|
17 |
NO_STAGE= yes |
|
|
18 |
.include <bsd.port.pre.mk> |
19 |
.include <bsd.port.pre.mk> |
19 |
|
20 |
|
20 |
.if defined(NO_PTEXINFO) |
|
|
21 |
ALL_TARGET= polipo |
22 |
NOPORTDOCS= yes |
23 |
.else |
24 |
INFO= polipo |
21 |
INFO= polipo |
25 |
.endif |
|
|
26 |
|
27 |
DOCSDIR= ${DATADIR}/www/doc |
22 |
DOCSDIR= ${DATADIR}/www/doc |
28 |
PORTDOCS= * |
23 |
PORTDOCS= * |
29 |
|
24 |
|
Lines 46-71
Link Here
|
46 |
@PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL |
41 |
@PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL |
47 |
|
42 |
|
48 |
do-install: |
43 |
do-install: |
49 |
${INSTALL_PROGRAM} ${WRKSRC}/polipo ${PREFIX}/bin/ |
44 |
${INSTALL_PROGRAM} ${WRKSRC}/polipo ${STAGEDIR}${PREFIX}/bin/ |
50 |
${MKDIR} ${PREFIX}/etc/periodic/daily/ |
45 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily/ |
51 |
${INSTALL_SCRIPT} ${WRKDIR}/400.polipo ${PREFIX}/etc/periodic/daily/ |
46 |
${INSTALL_SCRIPT} ${WRKDIR}/400.polipo ${STAGEDIR}${PREFIX}/etc/periodic/daily/ |
52 |
${INSTALL_MAN} ${WRKSRC}/polipo.man ${PREFIX}/man/man1/polipo.1 |
47 |
${INSTALL_MAN} ${WRKSRC}/polipo.man ${STAGEDIR}${PREFIX}/man/man1/polipo.1 |
53 |
${MKDIR} ${PCONFIGDIR} |
48 |
${MKDIR} ${STAGEDIR}${PCONFIGDIR} |
54 |
${INSTALL_DATA} ${WRKSRC}/config.sample ${PCONFIGDIR} |
49 |
${INSTALL_DATA} ${WRKSRC}/config.sample ${STAGEDIR}${PCONFIGDIR} |
55 |
${INSTALL_DATA} ${WRKSRC}/forbidden.sample ${PCONFIGDIR} |
50 |
${INSTALL_DATA} ${WRKSRC}/forbidden.sample ${STAGEDIR}${PCONFIGDIR} |
56 |
${CHGRP} -R ${PGRP} ${PCONFIGDIR} |
51 |
${INSTALL_DATA} ${WRKSRC}/polipo.info ${STAGEDIR}${PREFIX}/info/ |
57 |
.if !defined(NO_PTEXINFO) |
52 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
58 |
${INSTALL_DATA} ${WRKSRC}/polipo.info ${PREFIX}/info/ |
53 |
${INSTALL_DATA} ${WRKSRC}/html/* ${STAGEDIR}${DOCSDIR} |
59 |
.endif |
54 |
${INSTALL_DATA} ${WRKSRC}/localindex.html ${STAGEDIR}${DATADIR}/www/index.html |
60 |
.if !defined(NOPORTDOCS) |
|
|
61 |
${MKDIR} ${DOCSDIR} |
62 |
${INSTALL_DATA} ${WRKSRC}/html/* ${DOCSDIR} |
63 |
${INSTALL_DATA} ${WRKSRC}/localindex.html ${DATADIR}/www/index.html |
64 |
${CHGRP} -R ${PGRP} ${DATADIR} |
65 |
.endif |
66 |
|
67 |
post-install: |
68 |
@PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |
69 |
@${CAT} ${PKGMESSAGE} |
70 |
|
55 |
|
71 |
.include <bsd.port.post.mk> |
56 |
.include <bsd.port.post.mk> |