svn commit: r346478 - head/net/vncreflector

Emanuel Haupt ehaupt at FreeBSD.org
Fri Feb 28 10:09:31 UTC 2014


Author: ehaupt
Date: Fri Feb 28 10:09:31 2014
New Revision: 346478
URL: http://svnweb.freebsd.org/changeset/ports/346478
QAT: https://qat.redports.org/buildarchive/r346478/

Log:
  Support staging

Modified:
  head/net/vncreflector/Makefile

Modified: head/net/vncreflector/Makefile
==============================================================================
--- head/net/vncreflector/Makefile	Fri Feb 28 10:08:00 2014	(r346477)
+++ head/net/vncreflector/Makefile	Fri Feb 28 10:09:31 2014	(r346478)
@@ -10,24 +10,23 @@ DISTNAME=	vnc_reflector-${PORTVERSION}
 MAINTAINER=	paul at it.ca
 COMMENT=	Multi-client VNC proxy server
 
-LIB_DEPENDS+=	jpeg.11:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS+=	libjpeg.so:${PORTSDIR}/graphics/jpeg
 
 USE_RC_SUBR=	vncreflector
 
 ALL_TARGET=	default
 WRKSRC=		${WRKDIR}/vnc_reflector
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	@${MKDIR} -m0750 ${PREFIX}/etc/${PORTNAME}
-	@${CHOWN} root:wheel ${PREFIX}/etc/${PORTNAME}
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} -m0750 ${STAGEDIR}${PREFIX}/etc/${PORTNAME}
+	@${CHOWN} root:wheel ${STAGEDIR}${PREFIX}/etc/${PORTNAME}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list