From 491ba8c3a65a9d9bddbcbeb3e3064571b4d55abd Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Fri, 20 Dec 2013 18:41:56 +0000 Subject: - Support CC/CFLAGS properly - Update MASTER_SITES - Port supports staging PR: ports/184875 Submitted by: KATO Tsuguru --- x11-servers/x2x/Makefile | 23 ++++++++++++++++++----- x11-servers/x2x/files/patch-aa | 10 ---------- 2 files changed, 18 insertions(+), 15 deletions(-) delete mode 100644 x11-servers/x2x/files/patch-aa (limited to 'x11-servers') diff --git a/x11-servers/x2x/Makefile b/x11-servers/x2x/Makefile index 962953839e59..b3e1ed4aac9d 100644 --- a/x11-servers/x2x/Makefile +++ b/x11-servers/x2x/Makefile @@ -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 diff --git a/x11-servers/x2x/files/patch-aa b/x11-servers/x2x/files/patch-aa deleted file mode 100644 index ceab5355f6f8..000000000000 --- a/x11-servers/x2x/files/patch-aa +++ /dev/null @@ -1,10 +0,0 @@ ---- Imakefile~ Thu Aug 21 01:44:52 1997 -+++ Imakefile Sun Sep 3 16:44:47 2000 -@@ -10,3 +10,7 @@ - CDEBUGFLAGS = -O - - ComplexProgramTarget(x2x) -+# Added by Greg Lehey for FreeBSD port -+x2x.man: x2x.1 -+ rm -f x2x.man -+ ln x2x.1 x2x.man -- cgit v1.2.3