Lines 2-31
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= siproxd |
4 |
PORTNAME= siproxd |
5 |
PORTVERSION= 0.7.2 |
5 |
PORTVERSION= 0.8.1 |
6 |
PORTREVISION= 2 |
|
|
7 |
CATEGORIES= net |
6 |
CATEGORIES= net |
8 |
MASTER_SITES= SF |
7 |
MASTER_SITES= SF |
9 |
|
8 |
|
10 |
MAINTAINER= frank@dynamical-systems.org |
9 |
MAINTAINER= frank@dynamical-systems.org |
11 |
COMMENT= A proxy/masquerading daemon for the SIP protocol |
10 |
COMMENT= Proxy/masquerading daemon for the SIP protocol |
12 |
|
11 |
|
13 |
LIB_DEPENDS= osip2.9:${PORTSDIR}/net/libosip |
12 |
LIB_DEPENDS= libosip2.so:${PORTSDIR}/net/libosip |
14 |
|
13 |
|
15 |
USE_RC_SUBR= siproxd |
14 |
USE_RC_SUBR= siproxd |
16 |
GNU_CONFIGURE= yes |
15 |
GNU_CONFIGURE= yes |
17 |
CONFIGURE_ARGS= --disable-doc --with-libosip-prefix=${PREFIX} |
16 |
CONFIGURE_ARGS= --disable-doc --with-libosip-prefix=${PREFIX} |
18 |
|
17 |
|
|
|
18 |
USE_AUTOTOOLS= autoconf autoheader automake aclocal libtool libtoolize libltdl |
19 |
CFLAGS+= -L${LOCALBASE}/lib -I${LOCALBASE}/include |
20 |
AUTOMAKE_ARGS= --add-missing |
21 |
|
19 |
PORTDOCS1= AUTHORS ChangeLog README RELNOTES |
22 |
PORTDOCS1= AUTHORS ChangeLog README RELNOTES |
20 |
PORTDOCS2= FAQ KNOWN_BUGS RFC3261_compliance.txt \ |
23 |
PORTDOCS2= FAQ KNOWN_BUGS RFC3261_compliance.txt \ |
21 |
sample_cfg_budgetone.txt sample_cfg_x-lite.txt |
24 |
sample_cfg_budgetone.txt sample_cfg_x-lite.txt |
22 |
PORTDOCS= ${PORTDOCS1} ${PORTDOCS2} |
25 |
PORTDOCS= ${PORTDOCS1} ${PORTDOCS2} |
23 |
|
26 |
|
24 |
NO_STAGE= yes |
27 |
SIPROXD_GROUP= nobody |
|
|
28 |
PLIST_SUB= SIPROXD_GROUP=${SIPROXD_GROUP} |
29 |
|
25 |
.include <bsd.port.pre.mk> |
30 |
.include <bsd.port.pre.mk> |
26 |
|
31 |
|
27 |
post-patch: |
32 |
post-patch: |
28 |
@${REINPLACE_CMD} -e 's,-lgnugetopt,,g ; 24600d ; 23998s,doc/Makefile ,,g' ${WRKSRC}/${CONFIGURE_SCRIPT} |
|
|
29 |
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \ |
33 |
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \ |
30 |
${WRKSRC}/doc/siproxd.conf.example |
34 |
${WRKSRC}/doc/siproxd.conf.example |
31 |
${REINPLACE_CMD} -e '22s,doc ,,' ${WRKSRC}/Makefile.am |
35 |
${REINPLACE_CMD} -e '22s,doc ,,' ${WRKSRC}/Makefile.am |
Lines 38-50
Link Here
|
38 |
|
42 |
|
39 |
post-install: |
43 |
post-install: |
40 |
.if !defined(NOPORTDOCS) |
44 |
.if !defined(NOPORTDOCS) |
41 |
${MKDIR} ${DOCSDIR} |
45 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
42 |
.for docs in ${PORTDOCS} |
46 |
.for docs in ${PORTDOCS} |
43 |
${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR} |
47 |
${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR} |
44 |
.endfor |
48 |
.endfor |
45 |
.endif |
49 |
.endif |
46 |
${CP} ${WRKSRC}/doc/siproxd.conf.example ${PREFIX}/etc |
|
|
47 |
${CP} ${WRKSRC}/doc/siproxd_passwd.cfg ${PREFIX}/etc |
48 |
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |
49 |
|
50 |
|
50 |
.include <bsd.port.post.mk> |
51 |
.include <bsd.port.post.mk> |