[Midnightbsd-cvs] mports [19415] trunk/x11/terminal.app: fixup gnustep build process
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Tue Jun 9 21:21:23 EDT 2015
Revision: 19415
http://svnweb.midnightbsd.org/mports/?rev=19415
Author: laffer1
Date: 2015-06-09 21:21:23 -0400 (Tue, 09 Jun 2015)
Log Message:
-----------
fixup gnustep build process
Modified Paths:
--------------
trunk/x11/terminal.app/Makefile
trunk/x11/terminal.app/files/patch-TerminalView.m
trunk/x11/terminal.app/pkg-plist
Modified: trunk/x11/terminal.app/Makefile
===================================================================
--- trunk/x11/terminal.app/Makefile 2015-06-10 01:18:40 UTC (rev 19414)
+++ trunk/x11/terminal.app/Makefile 2015-06-10 01:21:23 UTC (rev 19415)
@@ -2,9 +2,9 @@
PORTNAME= terminal.app
PORTVERSION= 0.9.8
+PORTREVISION= 1
CATEGORIES= x11 gnustep
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= gap
+MASTER_SITES= SAVANNAH/gap
DISTNAME= Terminal-${PORTVERSION}
MAINTAINER= ports at MidnightBSD.org
@@ -11,11 +11,15 @@
COMMENT= Terminal Emulator for GNUstep
LICENSE= gpl2
-USE_GNUSTEP= yes
-USE_GNUSTEP_BACK= yes
-USE_GNUSTEP_BUILD= yes
-USE_GNUSTEP_INSTALL= yes
+LICENSE= gpl2 # only
+LICENSE_FILE= ${WRKSRC}/COPYING
+USES= gnustep
+USE_GNUSTEP= back build
+
MAKE_ENV+= GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
+post-install:
+ ${STRIP_CMD} ${PREFIX}/GNUstep/System/Applications/Terminal.app/Terminal
+
.include <bsd.port.mk>
Modified: trunk/x11/terminal.app/files/patch-TerminalView.m
===================================================================
--- trunk/x11/terminal.app/files/patch-TerminalView.m 2015-06-10 01:18:40 UTC (rev 19414)
+++ trunk/x11/terminal.app/files/patch-TerminalView.m 2015-06-10 01:21:23 UTC (rev 19415)
@@ -1,6 +1,24 @@
---- TerminalView.m.orig 2009-08-05 19:28:45.000000000 +0200
-+++ TerminalView.m 2010-05-23 09:03:04.000000000 +0200
-@@ -70,6 +70,7 @@
+--- TerminalView.m.orig 2012-03-06 17:54:33.000000000 -0500
++++ TerminalView.m
+@@ -33,7 +33,7 @@ activated */
+ # include <termios.h>
+ # include <pcap.h>
+ #define TCSETS TIOCSETA
+-#elif defined(__FreeBSD__)
++#elif defined(__FreeBSD__) || defined(__DragonFly__) || defined(__MidnightBSD__)
+ # include <sys/types.h>
+ # include <sys/ioctl.h>
+ # include <termios.h>
+@@ -52,7 +52,7 @@ activated */
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+-#ifndef __FreeBSD__
++#if !defined(__FreeBSD__) && !defined(__DragonFly__) && !defined(__MidnightBSD__)
+ #if !(defined (__NetBSD__)) && !(defined (__SOLARIS__)) && !(defined(__OpenBSD__))
+ # include <pty.h>
+ #endif
+@@ -73,6 +73,7 @@ activated */
#include <AppKit/NSGraphics.h>
#include <AppKit/NSScroller.h>
#include <AppKit/DPSOperators.h>
Modified: trunk/x11/terminal.app/pkg-plist
===================================================================
--- trunk/x11/terminal.app/pkg-plist 2015-06-10 01:18:40 UTC (rev 19414)
+++ trunk/x11/terminal.app/pkg-plist 2015-06-10 01:21:23 UTC (rev 19415)
@@ -20,15 +20,3 @@
GNUstep/System/Applications/Terminal.app/Terminal
GNUstep/System/Applications/Terminal.app/stamp.make
GNUstep/System/Tools/Terminal
- at dirrm GNUstep/System/Applications/Terminal.app/Resources/Turkish.lproj
- at dirrm GNUstep/System/Applications/Terminal.app/Resources/Swedish.lproj
- at dirrm GNUstep/System/Applications/Terminal.app/Resources/Spanish.lproj
- at dirrm GNUstep/System/Applications/Terminal.app/Resources/Russian.lproj
- at dirrm GNUstep/System/Applications/Terminal.app/Resources/Norwegian.lproj
- at dirrm GNUstep/System/Applications/Terminal.app/Resources/Italian.lproj
- at dirrm GNUstep/System/Applications/Terminal.app/Resources/Hungarian.lproj
- at dirrm GNUstep/System/Applications/Terminal.app/Resources/German.lproj
- at dirrm GNUstep/System/Applications/Terminal.app/Resources/French.lproj
- at dirrm GNUstep/System/Applications/Terminal.app/Resources/English.lproj
- at dirrm GNUstep/System/Applications/Terminal.app/Resources
- at dirrm GNUstep/System/Applications/Terminal.app
More information about the Midnightbsd-cvs
mailing list