Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= siproxd |
8 |
PORTNAME= siproxd |
9 |
PORTVERSION= 0.5.11 |
9 |
PORTVERSION= 0.5.12 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= net |
10 |
CATEGORIES= net |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITE_SUBDIR= siproxd |
12 |
MASTER_SITE_SUBDIR= siproxd |
Lines 17-25
Link Here
|
17 |
|
16 |
|
18 |
LIB_DEPENDS= osip2.3:${PORTSDIR}/net/libosip2 |
17 |
LIB_DEPENDS= osip2.3:${PORTSDIR}/net/libosip2 |
19 |
|
18 |
|
20 |
USE_REINPLACE= yes |
|
|
21 |
USE_GETOPT_LONG=yes |
19 |
USE_GETOPT_LONG=yes |
22 |
USE_RC_SUBR= yes |
20 |
USE_RC_SUBR= siproxd.sh |
23 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
24 |
CONFIGURE_TARGET= --with-libosip-prefix=${PREFIX} |
22 |
CONFIGURE_TARGET= --with-libosip-prefix=${PREFIX} |
25 |
|
23 |
|
Lines 27-34
Link Here
|
27 |
PORTDOCS2= FAQ KNOWN_BUGS RFC3261_compliance.txt \ |
25 |
PORTDOCS2= FAQ KNOWN_BUGS RFC3261_compliance.txt \ |
28 |
sample_cfg_budgetone.txt sample_cfg_x-lite.txt |
26 |
sample_cfg_budgetone.txt sample_cfg_x-lite.txt |
29 |
PORTDOCS= ${PORTDOCS1} ${PORTDOCS2} |
27 |
PORTDOCS= ${PORTDOCS1} ${PORTDOCS2} |
30 |
PLIST_FILES= etc/rc.d/siproxd.sh etc/siproxd.conf.example \ |
28 |
PLIST_FILES= etc/siproxd.conf.example etc/siproxd_passwd.cfg sbin/siproxd |
31 |
etc/siproxd_passwd.cfg sbin/siproxd |
|
|
32 |
|
29 |
|
33 |
.include <bsd.port.pre.mk> |
30 |
.include <bsd.port.pre.mk> |
34 |
|
31 |
|
Lines 50-56
Link Here
|
50 |
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |
47 |
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |
51 |
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \ |
48 |
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \ |
52 |
-e 's|%%RC_SUBR%%|${RC_SUBR}|g' \ |
49 |
-e 's|%%RC_SUBR%%|${RC_SUBR}|g' \ |
53 |
${FILESDIR}/siproxd.sh > ${PREFIX}/etc/rc.d/siproxd.sh |
50 |
${FILESDIR}/siproxd.sh.in > ${PREFIX}/etc/rc.d/siproxd.sh |
54 |
@${CHMOD} 755 ${PREFIX}/etc/rc.d/siproxd.sh |
51 |
@${CHMOD} 755 ${PREFIX}/etc/rc.d/siproxd.sh |
55 |
|
52 |
|
56 |
.include <bsd.port.post.mk> |
53 |
.include <bsd.port.post.mk> |