|
Lines 6-38
PORTVERSION= 1.2.1
Link Here
|
| 6 |
CATEGORIES= www |
6 |
CATEGORIES= www |
| 7 |
MASTER_SITES= GOOGLE_CODE |
7 |
MASTER_SITES= GOOGLE_CODE |
| 8 |
MASTER_SITE_SUBDIR= db |
8 |
MASTER_SITE_SUBDIR= db |
|
|
9 |
PROJECTHOST= serf |
| 9 |
|
10 |
|
| 10 |
MAINTAINER= apache@FreeBSD.org |
11 |
MAINTAINER= apache@FreeBSD.org |
| 11 |
COMMENT= Serf HTTP client library |
12 |
COMMENT= Serf HTTP client library |
| 12 |
|
13 |
|
| 13 |
LIB_DEPENDS+= apr-1:${PORTSDIR}/devel/apr1 |
14 |
LIB_DEPENDS+= apr-1:${PORTSDIR}/devel/apr1 |
| 14 |
|
15 |
|
| 15 |
MAKE_JOBS_SAFE= yes |
16 |
OPTIONS_DEFINE= DOCS |
| 16 |
|
17 |
|
| 17 |
PROJECTHOST= serf |
18 |
MAKE_JOBS_SAFE= yes |
| 18 |
USE_BZIP2= yes |
19 |
USE_BZIP2= yes |
| 19 |
USE_GMAKE= yes |
|
|
| 20 |
USES= pathfix |
20 |
USES= pathfix |
| 21 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
| 22 |
USE_LDCONFIG= yes |
22 |
USE_LDCONFIG= yes |
| 23 |
CONFIGURE_ARGS+= --with-apr=${LOCALBASE}/bin/apr-1-config \ |
23 |
CONFIGURE_ARGS+= --with-apr=${LOCALBASE}/bin/apr-1-config \ |
| 24 |
--with-apr-util=${LOCALBASE}/bin/apu-1-config |
24 |
--with-apr-util=${LOCALBASE}/bin/apu-1-config |
| 25 |
|
25 |
|
|
|
26 |
.include <bsd.port.options.mk> |
| 27 |
|
| 26 |
post-patch: |
28 |
post-patch: |
| 27 |
${REINPLACE_CMD} -e '/^Requires.private/d' ${WRKSRC}/serf.pc.in |
29 |
@${REINPLACE_CMD} -e '/^Requires.private/d' ${WRKSRC}/serf.pc.in |
| 28 |
|
30 |
|
| 29 |
post-install: |
31 |
post-install: |
| 30 |
.if !defined(NOPORTDOCS) |
32 |
.if ${PORT_OPTIONS:MDOCS} |
| 31 |
${MKDIR} ${DOCSDIR} |
33 |
${MKDIR} ${DOCSDIR} |
| 32 |
${INSTALL_DATA} ${WRKSRC}/design-guide.txt ${DOCSDIR} |
34 |
${INSTALL_DATA} ${WRKSRC}/design-guide.txt ${DOCSDIR} |
| 33 |
.endif |
35 |
.endif |
| 34 |
|
36 |
|
| 35 |
check: |
37 |
regression-test: |
| 36 |
@cd ${WRKSRC}/ && ${MAKE} check |
38 |
@(cd ${WRKSRC} && ${MAKE} check) |
| 37 |
|
39 |
|
| 38 |
.include <bsd.port.mk> |
40 |
.include <bsd.port.mk> |