From owner-svn-ports-all@FreeBSD.ORG Sun Feb 9 11:01:37 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 32140698; Sun, 9 Feb 2014 11:01:37 +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 017A21AB3; Sun, 9 Feb 2014 11:01:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s19B1aGx072114; Sun, 9 Feb 2014 11:01:36 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s19B1aPh072112; Sun, 9 Feb 2014 11:01:36 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201402091101.s19B1aPh072112@svn.freebsd.org> From: Emanuel Haupt Date: Sun, 9 Feb 2014 11:01:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343457 - head/audio/p5-Shout 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, 09 Feb 2014 11:01:37 -0000 Author: ehaupt Date: Sun Feb 9 11:01:36 2014 New Revision: 343457 URL: http://svnweb.freebsd.org/changeset/ports/343457 QAT: https://qat.redports.org/buildarchive/r343457/ Log: - Support staging - Strip binaries - Use shebangfix Modified: head/audio/p5-Shout/Makefile head/audio/p5-Shout/pkg-plist Modified: head/audio/p5-Shout/Makefile ============================================================================== --- head/audio/p5-Shout/Makefile Sun Feb 9 10:57:25 2014 (r343456) +++ head/audio/p5-Shout/Makefile Sun Feb 9 11:01:36 2014 (r343457) @@ -12,13 +12,13 @@ COMMENT= Perl glue for libshout MP3 stre LIB_DEPENDS= libshout.so:${PORTSDIR}/audio/libshout2 -USES= perl5 pkgconfig -NO_STAGE= yes +USES= perl5 pkgconfig shebangfix USE_PERL5= configure -MAN3= Shout.3 - DOCSDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} +SHEBANG_FILES= *.pl + +MAKE_ENV+= DESTDIR="${STAGEDIR}" post-patch: ${REINPLACE_CMD} -i '' -e 's/CCFLAGS/INC/' ${WRKSRC}/Makefile.PL @@ -26,10 +26,13 @@ post-patch: post-configure: @${PERL} -i -pe '$$_ .= " ${PTHREAD_LIBS}" if /^LDDLFLAGS/;' ${WRKSRC}/Makefile +OPTIONS_DEFINE= DOCS + +.include + post-install: -.ifndef(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/example*.pl ${DOCSDIR} -.endif + ${STRIP_CMD} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Shout/Shout.so + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/example*.pl ${STAGEDIR}${DOCSDIR} .include Modified: head/audio/p5-Shout/pkg-plist ============================================================================== --- head/audio/p5-Shout/pkg-plist Sun Feb 9 10:57:25 2014 (r343456) +++ head/audio/p5-Shout/pkg-plist Sun Feb 9 11:01:36 2014 (r343457) @@ -5,6 +5,7 @@ %%SITE_PERL%%/%%PERL_ARCH%%/auto/Shout/autosplit.ix %%SITE_PERL%%/%%PERL_ARCH%%/example.pl %%SITE_PERL%%/%%PERL_ARCH%%/example2.pl +%%PERL5_MAN3%%/Shout.3.gz %%PORTDOCS%%%%DOCSDIR%%/example.pl %%PORTDOCS%%%%DOCSDIR%%/example2.pl %%PORTDOCS%%@dirrm %%DOCSDIR%%