svn commit: r330476 - head/audio/ximp3

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Oct 16 03:28:13 UTC 2013


Author: amdmi3
Date: Wed Oct 16 03:28:12 2013
New Revision: 330476
URL: http://svnweb.freebsd.org/changeset/ports/330476

Log:
  - Support staging

Modified:
  head/audio/ximp3/Makefile

Modified: head/audio/ximp3/Makefile
==============================================================================
--- head/audio/ximp3/Makefile	Wed Oct 16 03:11:32 2013	(r330475)
+++ head/audio/ximp3/Makefile	Wed Oct 16 03:28:12 2013	(r330476)
@@ -10,17 +10,15 @@ MAINTAINER=	amdmi3 at FreeBSD.org
 COMMENT=	A simple console MP3 player
 
 GNU_CONFIGURE=	yes
-NO_STAGE=	yes
 PORTDOCS=	*
 
 PLIST_FILES=	bin/${PORTNAME}
 
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFAULT=DOCS
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list