Lines 2-7
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= surfraw |
3 |
PORTNAME= surfraw |
4 |
PORTVERSION= 2.2.9 |
4 |
PORTVERSION= 2.2.9 |
|
|
5 |
PORTREVISION= 1 |
5 |
CATEGORIES= www |
6 |
CATEGORIES= www |
6 |
MASTER_SITES= http://surfraw.alioth.debian.org/dist/ |
7 |
MASTER_SITES= http://surfraw.alioth.debian.org/dist/ |
7 |
|
8 |
|
Lines 9-15
Link Here
|
9 |
COMMENT= Command line interface to popular WWW search engines |
10 |
COMMENT= Command line interface to popular WWW search engines |
10 |
|
11 |
|
11 |
GNU_CONFIGURE= yes |
12 |
GNU_CONFIGURE= yes |
12 |
USES= perl5 gmake |
13 |
USES= gmake perl5 shebangfix |
|
|
14 |
SHEBANG_FILES= opensearch-discover \ |
15 |
opensearch-genquery \ |
16 |
surfraw-update-path.IN |
13 |
|
17 |
|
14 |
post-patch: .SILENT |
18 |
post-patch: .SILENT |
15 |
${REINPLACE_CMD} '\|xdg/surfraw|d' ${WRKSRC}/Makefile.in |
19 |
${REINPLACE_CMD} '\|xdg/surfraw|d' ${WRKSRC}/Makefile.in |
Lines 25-35
Link Here
|
25 |
${STAGEDIR}${PREFIX}/etc/bash_completion.d/surfraw |
29 |
${STAGEDIR}${PREFIX}/etc/bash_completion.d/surfraw |
26 |
.for f in surfraw.bookmarks surfraw.conf |
30 |
.for f in surfraw.bookmarks surfraw.conf |
27 |
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/etc/${f}.sample |
31 |
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/etc/${f}.sample |
28 |
@if [ ! -f ${STAGEDIR}${PREFIX}/etc/${f} ]; then \ |
|
|
29 |
${INSTALL_DATA} ${STAGEDIR}${PREFIX}/etc/${f}.sample \ |
30 |
${STAGEDIR}${PREFIX}/etc/${f}; \ |
31 |
fi |
32 |
.endfor |
32 |
.endfor |
33 |
|
33 |
|
34 |
.include "${.CURDIR}/manpages" |
|
|
35 |
.include <bsd.port.mk> |
34 |
.include <bsd.port.mk> |