also install the main binary and the post-install target becomes a
do-install one (the logic is more simple and it gets ride of the bogus element warnings). "go ahead" msf@
This commit is contained in:
parent
924607b8db
commit
b417c98419
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2006/11/27 11:16:50 msf Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2007/05/31 15:51:23 aanriot Exp $
|
||||
|
||||
COMMENT= "proxy/masquerading daemon for the SIP protocol"
|
||||
|
||||
DISTNAME= siproxd-0.5.13
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
CATEGORIES= telephony net
|
||||
|
||||
HOMEPAGE= http://siproxd.sourceforge.net/
|
||||
@ -25,10 +26,13 @@ LIB_DEPENDS= osip2,osipparser2::telephony/libosip2
|
||||
DOCDIR= ${PREFIX}/share/doc/siproxd
|
||||
EXDIR= ${PREFIX}/share/examples/siproxd
|
||||
|
||||
post-install:
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKDIST}/src/siproxd ${PREFIX}/sbin
|
||||
|
||||
${INSTALL_DATA_DIR} ${DOCDIR}
|
||||
${INSTALL_DATA} ${WRKDIST}/doc/FAQ ${DOCDIR}
|
||||
${INSTALL_DATA} ${WRKDIST}/doc/KNOWN_BUGS ${DOCDIR}
|
||||
|
||||
${INSTALL_DATA_DIR} ${EXDIR}
|
||||
${INSTALL_DATA} ${WRKDIST}/doc/siproxd.conf.example ${EXDIR}
|
||||
${INSTALL_DATA} ${WRKDIST}/doc/siproxd_passwd.cfg ${EXDIR}
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2006/11/27 11:16:50 msf Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.3 2007/05/31 15:51:23 aanriot Exp $
|
||||
@newgroup _siproxd:574
|
||||
@newuser _siproxd:574:574:daemon:SIP proxy:/var/empty:/sbin/nologin
|
||||
sbin/siproxd
|
||||
@ -10,7 +10,7 @@ share/examples/siproxd/siproxd.conf.example
|
||||
@sample ${SYSCONFDIR}/siproxd.conf
|
||||
share/examples/siproxd/siproxd_passwd.cfg
|
||||
@sample ${SYSCONFDIR}/siproxd_passwd.cfg
|
||||
@mode 0770
|
||||
@owner root
|
||||
@group _siproxd
|
||||
@mode 0770
|
||||
@sample /var/siproxd/
|
||||
|
Loading…
Reference in New Issue
Block a user