svn commit: r408471 - in head/x11-toolkits/gnome-pty-helper: . files

Koop Mast kwm at FreeBSD.org
Mon Feb 8 10:38:54 UTC 2016


Author: kwm
Date: Mon Feb  8 10:38:53 2016
New Revision: 408471
URL: https://svnweb.freebsd.org/changeset/ports/408471

Log:
  Turn gnome-pty-helper into a stand-alone port. Copy parts of the vte3
  Makefile and the patches from the current vte3 port.
  
  The next update of the vte3 port to 0.42.x doesn't bundle this code anymore.
  
  Obtained from:	gnome devel repo

Added:
  head/x11-toolkits/gnome-pty-helper/distinfo
     - copied unchanged from r408464, head/x11-toolkits/vte3/distinfo
  head/x11-toolkits/gnome-pty-helper/files/
     - copied from r408464, head/x11-toolkits/vte3/files/
Deleted:
  head/x11-toolkits/gnome-pty-helper/files/patch-src_vteseq.c
Modified:
  head/x11-toolkits/gnome-pty-helper/Makefile

Modified: head/x11-toolkits/gnome-pty-helper/Makefile
==============================================================================
--- head/x11-toolkits/gnome-pty-helper/Makefile	Mon Feb  8 10:23:54 2016	(r408470)
+++ head/x11-toolkits/gnome-pty-helper/Makefile	Mon Feb  8 10:38:53 2016	(r408471)
@@ -1,23 +1,41 @@
 # Created by: Joe Marcus Clarke <marcus at FreeBSD.org>
 # $FreeBSD$
-#   $MCom: ports/trunk/x11-toolkits/gnome-pty-helper/Makefile 18942 2013-12-08 01:31:37Z kwm $
 
 PORTNAME=	gnome-pty-helper
-PORTREVISION=	0
-PKGNAMESUFFIX=	#empty
+PORTVERSION=	0.40.2
+CATEGORIES=	x11-toolkits gnome
+MASTER_SITES=	GNOME/sources/vte/${PORTVERSION:R}
+DISTNAME=	vte-${PORTVERSION}
+DIST_SUBDIR=	gnome3
 
+MAINTAINER=	gnome at FreeBSD.org
 COMMENT=	utmp/wtmp/lastlog helper program for the vte Terminal widget
 
-VTE3_SLAVE=	yes
+BUILD_DEPENDS+=	gnutls>=0:${PORTSDIR}/security/gnutls
+
+PORTSCOUT=	ignore:1
+
+USES=		gmake tar:xz
+USE_LDCONFIG=	yes
+GNU_CONFIGURE=	yes
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+INSTALL_TARGET=	install-strip
 
-MASTERDIR=	${.CURDIR}/../../x11-toolkits/vte3
 CONFIGURE_WRKSRC=	${WRKSRC}/gnome-pty-helper
 BUILD_WRKSRC=	${WRKSRC}/gnome-pty-helper
 INSTALL_WRKSRC=	${WRKSRC}/gnome-pty-helper
-PLIST=		${.CURDIR}/pkg-plist
-USE_GNOME=	gnomeprefix
-CONFIGURE_ARGS=	# empty
-#PATCH_STRIP=	-p1
-#EXTRA_PATCHES+=	${MASTERDIR}/files/patch-gnome-pty-helper_gnome-pty-helper.c
 
-.include "${MASTERDIR}/Makefile"
+.include <bsd.port.options.mk>
+
+post-patch:
+# borrowed osversion from bsd.ssp.mk
+.if ${OSVERSION} < 1000036 && ${ARCH} == i386
+	@${REINPLACE_CMD} -e 's|-fstack-protector-strong||g; \
+		s|-fstack-protector||g' \
+		${WRKSRC}/configure
+.endif
+	@${REINPLACE_CMD} -e 's|(AM_MAKEFLAGS) install-exec-hook|(AM_MAKEFLAGS)|g' \
+		${WRKSRC}/gnome-pty-helper/Makefile.in
+
+.include <bsd.port.mk>

Copied: head/x11-toolkits/gnome-pty-helper/distinfo (from r408464, head/x11-toolkits/vte3/distinfo)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/gnome-pty-helper/distinfo	Mon Feb  8 10:38:53 2016	(r408471, copy of r408464, head/x11-toolkits/vte3/distinfo)
@@ -0,0 +1,2 @@
+SHA256 (gnome3/vte-0.40.2.tar.xz) = 9b68fbc16b27f2d79e6271f2b0708808594ac5acf979d0fccea118608199fd2d
+SIZE (gnome3/vte-0.40.2.tar.xz) = 923852


More information about the svn-ports-all mailing list