diff options
author | pawel <pawel@FreeBSD.org> | 2013-12-21 02:41:56 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2013-12-21 02:41:56 +0800 |
commit | 08f209c5a8cc486050db53a297ca55517d8eaf75 (patch) | |
tree | f1a6d5e30573319c7624e11c70f585d6991648ae /x11-servers | |
parent | 5ed019949d151218947080591f1b6c37b308c3e7 (diff) | |
download | freebsd-ports-gnome-08f209c5a8cc486050db53a297ca55517d8eaf75.tar.gz freebsd-ports-gnome-08f209c5a8cc486050db53a297ca55517d8eaf75.tar.zst freebsd-ports-gnome-08f209c5a8cc486050db53a297ca55517d8eaf75.zip |
- Support CC/CFLAGS properly
- Update MASTER_SITES
- Port supports staging
PR: ports/184875
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'x11-servers')
-rw-r--r-- | x11-servers/x2x/Makefile | 23 | ||||
-rw-r--r-- | x11-servers/x2x/files/patch-aa | 10 |
2 files changed, 18 insertions, 15 deletions
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 <bsd.port.mk> 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 <grog@FreeBSD.org> for FreeBSD port -+x2x.man: x2x.1 -+ rm -f x2x.man -+ ln x2x.1 x2x.man |