Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2013 00:53:43 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336407 - head/audio/libsndfile
Message-ID:  <201312140053.rBE0rhY2009419@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Dec 14 00:53:42 2013
New Revision: 336407
URL: http://svnweb.freebsd.org/changeset/ports/336407

Log:
  Support stage

Modified:
  head/audio/libsndfile/Makefile
  head/audio/libsndfile/pkg-plist

Modified: head/audio/libsndfile/Makefile
==============================================================================
--- head/audio/libsndfile/Makefile	Sat Dec 14 00:44:04 2013	(r336406)
+++ head/audio/libsndfile/Makefile	Sat Dec 14 00:53:42 2013	(r336407)
@@ -11,10 +11,8 @@ MAINTAINER=	multimedia@FreeBSD.org
 COMMENT=	Reading and writing files containing sampled sound (like WAV or AIFF)
 
 LICENSE=	LGPL21
-LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		gmake pathfix pkgconfig
-NO_STAGE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-gcc-pipe \
 		--disable-sqlite \
@@ -24,10 +22,6 @@ CPPFLAGS+=	-isystem /usr/include -isyste
 LDFLAGS+=	-L${LOCALBASE}/lib
 USE_LDCONFIG=	yes
 
-MAN1=		sndfile-concat.1 sndfile-cmp.1 sndfile-convert.1 \
-		sndfile-info.1 sndfile-metadata-get.1 sndfile-metadata-set.1 \
-		sndfile-play.1 sndfile-deinterleave.1 sndfile-interleave.1
-
 PORTDOCS=	AUTHORS ChangeLog NEWS README libsndfile.css \
 		new_file_type.HOWTO libsndfile.jpg *.html
 
@@ -36,7 +30,7 @@ OPTIONS_DEFAULT=	EXTERNAL
 CPU_CLIP_DESC=	Allow machine-dependent clipping
 EXTERNAL_DESC=	Enable FLAC and Ogg Vorbis support
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MCPU_CLIP}
 MANUAL_PACKAGE_BUILD=	WITH_CPU_CLIP may customize the package for the build machine
@@ -59,11 +53,8 @@ check regression-test test: build
 	check
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	@${TAR} -C ${WRKSRC}/doc --exclude "*Makefile*" --exclude "*.in" \
-		-cf - . | ${TAR} -C ${DOCSDIR} --unlink -xf -
-	@${CHOWN} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
-.endif
+		-cf - . | ${TAR} -C ${STAGEDIR}${DOCSDIR} --unlink -xf -
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/audio/libsndfile/pkg-plist
==============================================================================
--- head/audio/libsndfile/pkg-plist	Sat Dec 14 00:44:04 2013	(r336406)
+++ head/audio/libsndfile/pkg-plist	Sat Dec 14 00:53:42 2013	(r336407)
@@ -16,3 +16,12 @@ lib/libsndfile.la
 lib/libsndfile.so
 lib/libsndfile.so.1
 libdata/pkgconfig/sndfile.pc
+man/man1/sndfile-cmp.1.gz
+man/man1/sndfile-concat.1.gz
+man/man1/sndfile-convert.1.gz
+man/man1/sndfile-deinterleave.1.gz
+man/man1/sndfile-info.1.gz
+man/man1/sndfile-interleave.1.gz
+man/man1/sndfile-metadata-get.1.gz
+man/man1/sndfile-metadata-set.1.gz
+man/man1/sndfile-play.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312140053.rBE0rhY2009419>