Date: Fri, 2 May 2014 16:21:43 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r352823 - head/irc/hybserv Message-ID: <201405021621.s42GLhHr034270@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Fri May 2 16:21:42 2014 New Revision: 352823 URL: http://svnweb.freebsd.org/changeset/ports/352823 QAT: https://qat.redports.org/buildarchive/r352823/ Log: Add staging support Modified: head/irc/hybserv/Makefile head/irc/hybserv/pkg-plist Modified: head/irc/hybserv/Makefile ============================================================================== --- head/irc/hybserv/Makefile Fri May 2 16:11:56 2014 (r352822) +++ head/irc/hybserv/Makefile Fri May 2 16:21:42 2014 (r352823) @@ -11,9 +11,6 @@ COMMENT= Hybrid2 IRC Services LICENSE= GPLv2 -OPTIONS_DEFINE= DAEMONTOOLS -DAEMONTOOLS_DESC= Daemontools support - USE_GITHUB= yes GH_ACCOUNT= dkorunic GH_PROJECT= hybserv2 @@ -26,17 +23,23 @@ GNU_CONFIGURE= yes USERS= ${PORTNAME} GROUPS= ${USERS} +OPTIONS_DEFINE= DAEMONTOOLS + +DAEMONTOOLS_DESC= Daemontools support DAEMONTOOLS_RUN_DEPENDS= supervise:${PORTSDIR}/sysutils/daemontools DAEMONTOOLS_CONFIGURE_ENABLE= daemontools -NO_STAGE= yes -.include <bsd.port.options.mk> +post-patch: + @${REINPLACE_CMD} -E -e '/(LN)/ s,BINDIR),DESTDIR)$$(&,2' \ + -e '/(LN)/! s,(BIN|CONF|DOC|HELP|LOG)DIR),DESTDIR)$$(&,' \ + ${WRKSRC}/Makefile.in post-install: @${SED} -e "s#%PREFIX%#${PREFIX}#" ${FILESDIR}/hybserv.sh \ > ${WRKDIR}/hybserv.sh - @${INSTALL_SCRIPT} ${WRKDIR}/hybserv.sh ${PREFIX}/etc/rc.d - ${CHOWN} -R hybserv:hybserv ${PREFIX}/hybserv - ${CHMOD} 700 ${PREFIX}/hybserv + ${INSTALL_SCRIPT} ${WRKDIR}/hybserv.sh ${STAGEDIR}${PREFIX}/etc/rc.d + ${CHMOD} 700 ${STAGEDIR}${PREFIX}/hybserv + (cd ${STAGEDIR}${PREFIX}/hybserv && ${STRIP_CMD} hybserv mkpasswd \ + encryptconf encryptdb) .include <bsd.port.mk> Modified: head/irc/hybserv/pkg-plist ============================================================================== --- head/irc/hybserv/pkg-plist Fri May 2 16:11:56 2014 (r352822) +++ head/irc/hybserv/pkg-plist Fri May 2 16:21:42 2014 (r352823) @@ -1,4 +1,6 @@ etc/rc.d/hybserv.sh +@owner hybserv +@group hybserv hybserv/cleandb hybserv/doc/COPYING hybserv/doc/INSTALL
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405021621.s42GLhHr034270>