Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jan 2014 15:06:48 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340178 - head/audio/xmms-crossfade
Message-ID:  <201401181506.s0IF6mru003418@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Jan 18 15:06:48 2014
New Revision: 340178
URL: http://svnweb.freebsd.org/changeset/ports/340178
QAT: https://qat.redports.org/buildarchive/r340178/

Log:
  Stage support

Modified:
  head/audio/xmms-crossfade/Makefile

Modified: head/audio/xmms-crossfade/Makefile
==============================================================================
--- head/audio/xmms-crossfade/Makefile	Sat Jan 18 15:01:52 2014	(r340177)
+++ head/audio/xmms-crossfade/Makefile	Sat Jan 18 15:06:48 2014	(r340178)
@@ -16,7 +16,6 @@ LIB_DEPENDS?=	libxmms.so:${PORTSDIR}/mul
 
 HAS_CONFIGURE=	yes
 USE_CSTD=	gnu89
-NO_STAGE=	yes
 USES=		pkgconfig
 
 APP?=		xmms
@@ -30,24 +29,20 @@ PLIST_FILES=	${PLUGDIR}/libcrossfade.so
 DOCSDIR?=	${PREFIX}/share/doc/${UNIQUENAME}
 CONFIGURE_ARGS+=	--enable-player=${APP}
 
-OPTIONS_DEFINE=	SAMPLERATE
+OPTIONS_DEFINE=	DOCS SAMPLERATE
 SAMPLERATE_LIB_DEPENDS=	libsamplerate.so:${PORTSDIR}/audio/libsamplerate
 SAMPLERATE_CPPFLAGS=	-I${LOCALBASE}/include
 SAMPLERATE_LDFLAGS=		-L${LOCALBASE}/lib
 SAMPLERATE_CONFIGURE_ENABLE=	samplerate
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e '/objformat=/s|aout|elf|; \
 		s|dummy audacious|&2|g' ${WRKSRC}/configure
 
 do-install:
-	@${MKDIR} ${PREFIX}/${PLUGDIR}/
-	${INSTALL_PROGRAM} ${WRKSRC}/.libs/libcrossfade.so ${PREFIX}/${PLUGDIR}/
-.if ${PORT_OPTIONS:MDOCS}
-	@${INSTALL} -d ${DOCSDIR}/
-	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
-.endif
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/.libs/libcrossfade.so ${STAGEDIR}${PREFIX}/${PLUGDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401181506.s0IF6mru003418>