From owner-svn-ports-all@FreeBSD.ORG Sun Dec 29 12:48:39 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0E801DF; Sun, 29 Dec 2013 12:48:39 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D4E1211E4; Sun, 29 Dec 2013 12:48:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBTCmcE5027648; Sun, 29 Dec 2013 12:48:38 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBTCmcjp027646; Sun, 29 Dec 2013 12:48:38 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201312291248.rBTCmcjp027646@svn.freebsd.org> From: Antoine Brodin Date: Sun, 29 Dec 2013 12:48:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337978 - head/audio/darkice X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Dec 2013 12:48:39 -0000 Author: antoine Date: Sun Dec 29 12:48:38 2013 New Revision: 337978 URL: http://svnweb.freebsd.org/changeset/ports/337978 Log: Stage support Modified: head/audio/darkice/Makefile head/audio/darkice/pkg-plist Modified: head/audio/darkice/Makefile ============================================================================== --- head/audio/darkice/Makefile Sun Dec 29 12:42:57 2013 (r337977) +++ head/audio/darkice/Makefile Sun Dec 29 12:48:38 2013 (r337978) @@ -20,7 +20,6 @@ OPTIONS_DEFAULT= VORBIS OPUS_DESC= Ogg Opus audio codec support AACPLUS_DESC= AAC HEv2 and libsamplerate support -NO_STAGE= yes USE_AUTOTOOLS= aclocal automake autoconf ACLOCAL_ARGS= # none AUTOMAKE_ARGS= --add-missing --copy --foreign @@ -30,9 +29,6 @@ CONFIGURE_ARGS= --without-alsa SUB_FILES= pkg-message USE_RC_SUBR= ${PORTNAME} -MAN1= darkice.1 -MAN5= darkice.cfg.5 - .include .if ${PORT_OPTIONS:MJACK} @@ -97,18 +93,10 @@ post-patch: @${REINPLACE_CMD} -e 's|-O2 -pedantic||g' ${WRKSRC}/src/Makefile.am do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.cfg \ - ${PREFIX}/etc/${PORTNAME}.cfg.dist - ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${MAN1PREFIX}/man/man1 - ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.cfg.5 ${MAN5PREFIX}/man/man5 - -post-install: - @${ECHO_MSG} - @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} - @if [ ! -f ${PREFIX}/etc/darkice.cfg ]; then \ - ${CP} -p ${PREFIX}/etc/darkice.cfg.dist ${PREFIX}/etc/darkice.cfg ; \ - fi + ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.cfg.dist + ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.cfg.5 ${STAGEDIR}${MAN5PREFIX}/man/man5 .include Modified: head/audio/darkice/pkg-plist ============================================================================== --- head/audio/darkice/pkg-plist Sun Dec 29 12:42:57 2013 (r337977) +++ head/audio/darkice/pkg-plist Sun Dec 29 12:48:38 2013 (r337978) @@ -2,3 +2,5 @@ bin/darkice @unexec if cmp -s %D/etc/darkice.cfg.dist %D/etc/darkice.cfg; then rm -f %D/etc/darkice.cfg; fi etc/darkice.cfg.dist @exec if [ ! -f %D/etc/darkice.cfg ] ; then cp -p %D/%F %B/darkice.cfg; fi +man/man1/darkice.1.gz +man/man5/darkice.cfg.5.gz