Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2013 18:41:57 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337067 - in head/x11-servers/x2x: . files
Message-ID:  <201312201841.rBKIfv1X084209@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Dec 20 18:41:56 2013
New Revision: 337067
URL: http://svnweb.freebsd.org/changeset/ports/337067

Log:
  - Support CC/CFLAGS properly
  - Update MASTER_SITES
  - Port supports staging
  
  PR:		ports/184875
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>

Deleted:
  head/x11-servers/x2x/files/
Modified:
  head/x11-servers/x2x/Makefile   (contents, props changed)

Modified: head/x11-servers/x2x/Makefile
==============================================================================
--- head/x11-servers/x2x/Makefile	Fri Dec 20 18:41:37 2013	(r337066)
+++ head/x11-servers/x2x/Makefile	Fri Dec 20 18:41:56 2013	(r337067)
@@ -3,17 +3,30 @@
 
 PORTNAME=	x2x
 PORTVERSION=	1.27
-PORTREVISION=	3
 CATEGORIES=	x11-servers
-MASTER_SITES=	http://cloud.github.com/downloads/dottedmag/x2x/
+MASTER_SITES=	GHC
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Program to link multiple X servers together
 
+LICENSE=	MIT
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	dottedmag
+
+WRKSRC=		${WRKDIR}/${DISTNAME}
+
 USES=		imake
 USE_XORG=	x11 xext xtst
-MAN1=		x2x.1
-PLIST_FILES=	bin/x2x
 
-NO_STAGE=	yes
+PLIST_FILES=	bin/x2x man/man1/x2x.1.gz
+
+post-extract:
+	@${LN} -sf x2x.1 ${WRKSRC}/x2x.man
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		'/CC =/s|^|XCOMM| ; \
+		 /CDEBUGFLAGS =/s|^|XCOMM|' ${WRKSRC}/Imakefile
+
 .include <bsd.port.mk>



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