Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2014 22:46:03 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350178 - head/audio/py-pyliblo
Message-ID:  <201404042246.s34Mk3lI036351@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Apr  4 22:46:03 2014
New Revision: 350178
URL: http://svnweb.freebsd.org/changeset/ports/350178
QAT: https://qat.redports.org/buildarchive/r350178/

Log:
  Support stage

Modified:
  head/audio/py-pyliblo/Makefile
  head/audio/py-pyliblo/pkg-plist

Modified: head/audio/py-pyliblo/Makefile
==============================================================================
--- head/audio/py-pyliblo/Makefile	Fri Apr  4 22:44:03 2014	(r350177)
+++ head/audio/py-pyliblo/Makefile	Fri Apr  4 22:46:03 2014	(r350178)
@@ -15,28 +15,20 @@ BUILD_DEPENDS=	pyrex>=0.9.4:${PORTSDIR}/
 LIB_DEPENDS=	liblo.so:${PORTSDIR}/audio/liblo
 
 USE_PYTHON=		yes
-NO_STAGE=	yes
 USE_PYDISTUTILS=	yes
 MAKE_ENV+=		PREFIX=${PREFIX} LOCALBASE=${LOCALBASE}
 LDFLAGS+=		-L${LOCALBASE}/lib
 
-MAN1=	dump_osc.1 send_osc.1
-
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	${REINPLACE_CMD} -e 's#%%LOCALBASE%%#${LOCALBASE}#g' ${WRKSRC}/setup.py
 
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/scripts/dump_osc.1 ${PREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/scripts/send_osc.1 ${PREFIX}/man/man1
-
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/doc/API.html ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/doc/examples.html ${DOCSDIR}
-.endif
+	${INSTALL_MAN} ${WRKSRC}/scripts/dump_osc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/scripts/send_osc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/API.html ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/examples.html ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/audio/py-pyliblo/pkg-plist
==============================================================================
--- head/audio/py-pyliblo/pkg-plist	Fri Apr  4 22:44:03 2014	(r350177)
+++ head/audio/py-pyliblo/pkg-plist	Fri Apr  4 22:46:03 2014	(r350178)
@@ -1,5 +1,7 @@
 bin/dump_osc
 bin/send_osc
+man/man1/dump_osc.1.gz
+man/man1/send_osc.1.gz
 %%PYTHON_SITELIBDIR%%/liblo.so
 %%PORTDOCS%%%%DOCSDIR%%/API.html
 %%PORTDOCS%%%%DOCSDIR%%/examples.html



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