Lines 16-40
Link Here
|
16 |
|
16 |
|
17 |
LIB_DEPENDS= osip2.2:${PORTSDIR}/net/libosip2 |
17 |
LIB_DEPENDS= osip2.2:${PORTSDIR}/net/libosip2 |
18 |
|
18 |
|
|
|
19 |
USE_REINPLACE= yes |
19 |
USE_GETOPT_LONG=yes |
20 |
USE_GETOPT_LONG=yes |
20 |
USE_RC_SUBR= yes |
21 |
USE_RC_SUBR= yes |
21 |
HAS_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
|
|
23 |
CONFIGURE_TARGET= # empty |
22 |
|
24 |
|
23 |
PORTDOCS= AUTHORS ChangeLog README RELNOTES \ |
25 |
PORTDOCS1= AUTHORS ChangeLog README RELNOTES |
24 |
doc/FAQ doc/KNOWN_BUGS doc/RFC3261_compliance.txt \ |
26 |
PORTDOCS2= FAQ KNOWN_BUGS RFC3261_compliance.txt \ |
25 |
doc/sample_cfg_budgetone.txt doc/sample_cfg_x-lite.txt |
27 |
sample_cfg_budgetone.txt sample_cfg_x-lite.txt |
|
|
28 |
PORTDOCS= ${PORTDOCS1} ${PORTDOCS2} |
29 |
PLIST_FILES= etc/rc.d/siproxd.sh etc/siproxd.conf.example \ |
30 |
etc/siproxd_passwd.cfg sbin/siproxd |
26 |
|
31 |
|
27 |
.include <bsd.port.pre.mk> |
32 |
.include <bsd.port.pre.mk> |
28 |
|
33 |
|
|
|
34 |
post-patch: |
29 |
.if ${OSVERSION} >= 500041 |
35 |
.if ${OSVERSION} >= 500041 |
30 |
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt |
36 |
@${REINPLACE_CMD} -e 's,-lgnugetopt,,g' ${WRKSRC}/${CONFIGURE_SCRIPT} |
31 |
.endif |
37 |
.endif |
32 |
|
38 |
|
33 |
post-install: |
39 |
post-install: |
34 |
.if !defined(NOPORTDOCS) |
40 |
.if !defined(NOPORTDOCS) |
35 |
${MKDIR} ${DOCSDIR} |
41 |
${MKDIR} ${DOCSDIR} |
36 |
.for i in ${PORTDOCS} |
42 |
.for i in ${PORTDOCS1} |
37 |
${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR} |
43 |
${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR} |
|
|
44 |
.endfor |
45 |
.for i in ${PORTDOCS2} |
46 |
${INSTALL_MAN} ${WRKSRC}/doc/${i} ${DOCSDIR} |
38 |
.endfor |
47 |
.endfor |
39 |
.endif |
48 |
.endif |
40 |
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |
49 |
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |