svn commit: r353545 - head/net/ccxstream

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri May 9 23:52:31 UTC 2014


Author: amdmi3
Date: Fri May  9 23:52:30 2014
New Revision: 353545
URL: http://svnweb.freebsd.org/changeset/ports/353545
QAT: https://qat.redports.org/buildarchive/r353545/

Log:
  - Support staging
  - Convert USE_GMAKE to USES

Modified:
  head/net/ccxstream/Makefile

Modified: head/net/ccxstream/Makefile
==============================================================================
--- head/net/ccxstream/Makefile	Fri May  9 23:51:02 2014	(r353544)
+++ head/net/ccxstream/Makefile	Fri May  9 23:52:30 2014	(r353545)
@@ -1,55 +1,37 @@
 # Created by: Michael Handler <handler at grendel.net>
 # $FreeBSD$
 
-PORTNAME=		ccxstream
-PORTVERSION=		1.0.15
-PORTREVISION=		1
-CATEGORIES=		net
-MASTER_SITES=		SF/xbplayer/XStream%20Servers/ccXStream%20${PORTVERSION}%20for%20Linux
-
-MAINTAINER=		ports at FreeBSD.org
-COMMENT=		Stream media files to XBox Media Center via XBMSP
+PORTNAME=	ccxstream
+PORTVERSION=	1.0.15
+PORTREVISION=	1
+CATEGORIES=	net
+MASTER_SITES=	SF/xbplayer/XStream%20Servers/ccXStream%20${PORTVERSION}%20for%20Linux
+
+MAINTAINER=	ports at FreeBSD.org
+COMMENT=	Stream media files to XBox Media Center via XBMSP
+
+USES=		gmake
+USE_RC_SUBR=	ccxstream
+
+PLIST_FILES=	bin/ccxtest \
+		sbin/ccxstream
+PORTDOCS=	README ChangeLog TODO xbmsp-xml.txt xbmsp.txt
 
 OPTIONS_DEFINE=	SO_KEEPALIVE TCP_NODELAY DOCS
-OPTIONS_DEFAULT=	SO_KEEPALIVE
+OPTIONS_DEFAULT=SO_KEEPALIVE
 SO_KEEPALIVE_DESC=	Build with SO_KEEPALIVE
+SO_KEEPALICE_CFLAGS=	-DSO_KEEPALIVE
 TCP_NODELAY_DESC=	Build with TCP_NODELAY
+TCP_NODELAY_CFLAGS=	-DTCP_NODELAY
 
-USE_GMAKE=		yes
-USE_RC_SUBR=		ccxstream
-
-PLIST_FILES=		bin/ccxtest \
-			sbin/ccxstream
-
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MDOCS}
-PORTDOCS=		README ChangeLog TODO xbmsp-xml.txt xbmsp.txt
-.endif
-
 do-install:
-	@${MKDIR} ${PREFIX}/sbin
-	@${INSTALL_PROGRAM} ${WRKSRC}/ccxstream ${PREFIX}/sbin
-	@${INSTALL_PROGRAM} ${WRKSRC}/ccxtest ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/ccxstream ${STAGEDIR}${PREFIX}/sbin
+	${INSTALL_PROGRAM} ${WRKSRC}/ccxtest ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in ${PORTDOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
+	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
 .endfor
-.endif
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
-
-# enable SO_KEEPALIVE
-.if ${PORT_OPTIONS:MSO_KEEPALIVE}
-CFLAGS+=	-DSO_KEEPALIVE
-.endif
-
-# enable TCP_NODELAY
-.if ${PORT_OPTIONS:MTCP_NODELAY}
-CFLAGS+=	-DTCP_NODELAY
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list