Lines 29-47
Link Here
|
29 |
MAN4= swish++.conf.4 swish++.index.4 |
29 |
MAN4= swish++.conf.4 swish++.index.4 |
30 |
MAN8= searchd.8 searchmonitor.8 |
30 |
MAN8= searchd.8 searchmonitor.8 |
31 |
|
31 |
|
32 |
.include <bsd.port.pre.mk> |
|
|
33 |
|
34 |
.if ${PERL_LEVEL} >= 500800 |
35 |
BROKEN= "Broken pkg-plist" |
36 |
.endif |
37 |
|
38 |
post-patch: |
32 |
post-patch: |
39 |
@${REINPLACE_CMD} -e '/^#error/d' ${WRKSRC}/config.h |
33 |
@${REINPLACE_CMD} -e '/^#error/d' ${WRKSRC}/config.h |
40 |
.for file in searchd searchmonitor |
34 |
.for file in searchd searchmonitor |
41 |
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/${file}.in |
35 |
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/${file}.in |
42 |
.endfor |
36 |
.endfor |
43 |
|
37 |
|
|
|
38 |
pre-install: |
39 |
@${MKDIR} ${SITE_PERL} |
40 |
|
44 |
post-install: |
41 |
post-install: |
45 |
${INSTALL_SCRIPT} ${FILESDIR}/swish++.sh ${PREFIX}/etc/rc.d |
42 |
${INSTALL_SCRIPT} ${FILESDIR}/swish++.sh ${PREFIX}/etc/rc.d |
46 |
|
43 |
|
47 |
.include <bsd.port.post.mk> |
44 |
.include <bsd.port.mk> |