svn commit: r342885 - head/audio/wmix

Baptiste Daroussin bapt at FreeBSD.org
Wed Feb 5 22:56:44 UTC 2014


Author: bapt
Date: Wed Feb  5 22:56:43 2014
New Revision: 342885
URL: http://svnweb.freebsd.org/changeset/ports/342885
QAT: https://qat.redports.org/buildarchive/r342885/

Log:
  Support stage

Modified:
  head/audio/wmix/Makefile

Modified: head/audio/wmix/Makefile
==============================================================================
--- head/audio/wmix/Makefile	Wed Feb  5 22:53:23 2014	(r342884)
+++ head/audio/wmix/Makefile	Wed Feb  5 22:56:43 2014	(r342885)
@@ -8,28 +8,23 @@ CATEGORIES=	audio windowmaker
 MASTER_SITES=	http://www.ne.jp/asahi/linux/timecop/software/
 
 MAINTAINER=	novel at FreeBSD.org
-COMMENT=	An audio mixer for the WindowMaker dock with TV-like OSD
+COMMENT=	Audio mixer for the WindowMaker dock with TV-like OSD
+
+OPTIONS_DEFINE=	DOCS
 
 PLIST_FILES=	bin/wmix
 ALL_TARGET=	${PORTNAME}
 USE_XORG=	xpm
-NO_STAGE=	yes
 MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
 		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
 
 PORTDOCS=	AUTHORS BUGS INSTALL NEWS README
 
-.include <bsd.port.options.mk>
-
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/wmix ${PREFIX}/bin
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/wmix ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in ${PORTDOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list