mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- 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
This commit is contained in:
parent
0818b1cf32
commit
dd3d4300e7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313395
@ -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
|
||||
|
@ -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%%
|
||||
|
Loading…
Reference in New Issue
Block a user