Lines 7-13
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= hydra |
9 |
PORTNAME= hydra |
10 |
PORTVERSION= 0.1.3 |
10 |
PORTVERSION= 0.1.4 |
11 |
CATEGORIES= www |
11 |
CATEGORIES= www |
12 |
MASTER_SITES= ftp://ftp.hellug.gr/pub/software/hydra/ \ |
12 |
MASTER_SITES= ftp://ftp.hellug.gr/pub/software/hydra/ \ |
13 |
http://hydra.hellug.gr/download/ \ |
13 |
http://hydra.hellug.gr/download/ \ |
Lines 21-26
Link Here
|
21 |
USE_REINPLACE= yes |
21 |
USE_REINPLACE= yes |
22 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
23 |
|
23 |
|
|
|
24 |
CFLAGS+= -I${LOCALBASE}/include |
25 |
|
24 |
post-patch: |
26 |
post-patch: |
25 |
@${REINPLACE_CMD} -e "s,-pthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure |
27 |
@${REINPLACE_CMD} -e "s,-pthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure |
26 |
.for file in src/defines.h examples/hydra.conf |
28 |
.for file in src/defines.h examples/hydra.conf |
Lines 30-36
Link Here
|
30 |
post-install: |
32 |
post-install: |
31 |
@${MKDIR} ${PREFIX}/etc/hydra |
33 |
@${MKDIR} ${PREFIX}/etc/hydra |
32 |
.for file in hydra.conf mime.types |
34 |
.for file in hydra.conf mime.types |
33 |
${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/etc/hydra |
35 |
${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/etc/hydra/${file}-dist |
|
|
36 |
[ -f ${PREFIX}/etc/hydra/${file} ] || \ |
37 |
${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/etc/hydra/ |
34 |
.endfor |
38 |
.endfor |
35 |
|
39 |
|
36 |
.include <bsd.port.mk> |
40 |
.include <bsd.port.mk> |