From 9fc878e88f2e7402f5592aef2377954facd88fc1 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Fri, 17 Jan 2014 22:11:12 +0000 Subject: [PATCH] Stage support --- audio/sbagen/Makefile | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/audio/sbagen/Makefile b/audio/sbagen/Makefile index 3279a550165c..567ff3cb8d91 100644 --- a/audio/sbagen/Makefile +++ b/audio/sbagen/Makefile @@ -16,23 +16,16 @@ 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 -NO_STAGE= yes - -.include do-build: (cd ${WRKSRC} && ${CC} ${CFLAGS} -DT_LINUX -pthread -lm \ sbagen.c -o sbagen) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/sbagen ${PREFIX}/bin -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/sbagen ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include