svn commit: r337067 - in head/x11-servers/x2x: . files
Pawel Pekala
pawel at FreeBSD.org
Fri Dec 20 18:41:57 UTC 2013
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 at 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 at 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>
More information about the svn-ports-all
mailing list