svn commit: r406075 - head/audio/vsound

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Jan 13 22:19:50 UTC 2016


Author: amdmi3
Date: Wed Jan 13 22:19:48 2016
New Revision: 406075
URL: https://svnweb.freebsd.org/changeset/ports/406075

Log:
  - Add LICENSE
  - Switch to options helpers

Modified:
  head/audio/vsound/Makefile

Modified: head/audio/vsound/Makefile
==============================================================================
--- head/audio/vsound/Makefile	Wed Jan 13 22:13:42 2016	(r406074)
+++ head/audio/vsound/Makefile	Wed Jan 13 22:19:48 2016	(r406075)
@@ -10,6 +10,9 @@ MASTER_SITES=	http://www.vsound.org/
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Utility for capturing audio streams from programs with OSS output
 
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 BUILD_DEPENDS=	sox:${PORTSDIR}/audio/sox
 RUN_DEPENDS=	sox:${PORTSDIR}/audio/sox
 
@@ -19,8 +22,10 @@ GNU_CONFIGURE=	yes
 OPTIONS_DEFINE=	DOCS
 
 post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/vsound/libvsound.so
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/vsound/libvsound.so
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list