Date: Mon, 4 Mar 2013 06:43:04 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r313395 - head/audio/sbagen Message-ID: <201303040643.r246h5gY026490@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Mon Mar 4 06:43:04 2013 New Revision: 313395 URL: http://svnweb.freebsd.org/changeset/ports/313395 Log: - Trim Makefile header per new style rules - Drop indefinite article from the COMMENT - Define LICENSE (GPLv2), utilize PORTDOCS - Convert to OptionsNG and clean up Makefile Modified: head/audio/sbagen/Makefile head/audio/sbagen/pkg-plist Modified: head/audio/sbagen/Makefile ============================================================================== --- head/audio/sbagen/Makefile Mon Mar 4 06:37:25 2013 (r313394) +++ head/audio/sbagen/Makefile Mon Mar 4 06:43:04 2013 (r313395) @@ -1,9 +1,5 @@ -# New ports collection makefile for: sbagen -# Date created: 08 June 2001 -# Whom: greid -# +# Created by: George Reid <greid@FreeBSD.org> # $FreeBSD$ -# PORTNAME= sbagen PORTVERSION= 1.4.5 @@ -12,27 +8,32 @@ MASTER_SITES= SF EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org -COMMENT= A sequenced binaural wave generator +COMMENT= Sequenced binaural wave generator -DOC_FILES= ChangeLog.txt README.txt SBAGEN.txt TODO.txt focus.txt \ +LICENSE= GPLv2 + +PORTDOCS= ChangeLog.txt README.txt SBAGEN.txt TODO.txt focus.txt \ focus2.txt holosync.txt theory.txt theory2.txt wave.txt +OPTIONS_DEFINE= DOCS EXAMPLES + +.include <bsd.port.options.mk> + post-patch: - @${REINPLACE_CMD} -e 's,linux/soundcard.h,sys/soundcard.h,g' \ + @${REINPLACE_CMD} -e 's,linux/soundcard\.h,sys/soundcard.h,g' \ ${WRKSRC}/sbagen.c do-build: - (cd ${WRKSRC} && ${CC} ${CFLAGS} -DT_LINUX ${PTHREAD_LIBS} -lm sbagen.c -o sbagen) + (cd ${WRKSRC} && ${CC} ${CFLAGS} -DT_LINUX ${PTHREAD_LIBS} -lm \ + sbagen.c -o sbagen) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sbagen ${PREFIX}/bin -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} -.for file in ${DOC_FILES} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} .endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) .endif Modified: head/audio/sbagen/pkg-plist ============================================================================== --- head/audio/sbagen/pkg-plist Mon Mar 4 06:37:25 2013 (r313394) +++ head/audio/sbagen/pkg-plist Mon Mar 4 06:43:04 2013 (r313395) @@ -1,14 +1,4 @@ bin/sbagen -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.txt -%%PORTDOCS%%%%DOCSDIR%%/README.txt -%%PORTDOCS%%%%DOCSDIR%%/SBAGEN.txt -%%PORTDOCS%%%%DOCSDIR%%/TODO.txt -%%PORTDOCS%%%%DOCSDIR%%/focus.txt -%%PORTDOCS%%%%DOCSDIR%%/focus2.txt -%%PORTDOCS%%%%DOCSDIR%%/holosync.txt -%%PORTDOCS%%%%DOCSDIR%%/theory.txt -%%PORTDOCS%%%%DOCSDIR%%/theory2.txt -%%PORTDOCS%%%%DOCSDIR%%/wave.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/basics/prog-chakras-1.sbg %%PORTEXAMPLES%%%%EXAMPLESDIR%%/basics/prog-drop-00d.sbg %%PORTEXAMPLES%%%%EXAMPLESDIR%%/basics/prog-drop-old-demo.sbg @@ -145,4 +135,3 @@ bin/sbagen %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/contrib %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/basics %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303040643.r246h5gY026490>