Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2013 15:27:25 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333301 - in head/x11/yeahconsole: . files
Message-ID:  <201311091527.rA9FRPM5023868@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sat Nov  9 15:27:25 2013
New Revision: 333301
URL: http://svnweb.freebsd.org/changeset/ports/333301

Log:
  - Clean up patch, honor LOCALBASE, CC, CFLAGS; add LICENSE, stagify
  - Install README file (useful documentation, also acts as changelog)
  - Provide better COMMENT and port description (courtesy of OpenBSD)

Modified:
  head/x11/yeahconsole/Makefile
  head/x11/yeahconsole/files/patch-Makefile
  head/x11/yeahconsole/pkg-descr

Modified: head/x11/yeahconsole/Makefile
==============================================================================
--- head/x11/yeahconsole/Makefile	Sat Nov  9 15:19:58 2013	(r333300)
+++ head/x11/yeahconsole/Makefile	Sat Nov  9 15:27:25 2013	(r333301)
@@ -1,4 +1,4 @@
-# Created by: asami
+# Created by: Satoshi Asami <asami@FreeBSD.org>
 # $FreeBSD$
 
 PORTNAME=	yeahconsole
@@ -7,11 +7,21 @@ CATEGORIES=	x11
 MASTER_SITES=	http://phrat.de/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	quake console-like extension for X terminals
+COMMENT=	Terminal wrapper for creating drop-down consoles
+
+LICENSE=	GPLv2
 
 USE_XORG=	x11
+ALL_TARGET=	${PORTNAME}
 
 PLIST_FILES=	bin/yeahconsole
+PORTDOCS=	README
+
+OPTIONS_DEFINE=	DOCS
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/x11/yeahconsole/files/patch-Makefile
==============================================================================
--- head/x11/yeahconsole/files/patch-Makefile	Sat Nov  9 15:19:58 2013	(r333300)
+++ head/x11/yeahconsole/files/patch-Makefile	Sat Nov  9 15:27:25 2013	(r333301)
@@ -1,37 +1,33 @@
 --- Makefile.orig	2006-01-14 18:54:05.000000000 +0300
 +++ Makefile	2008-04-30 12:23:01.000000000 +0400
-@@ -5,26 +5,26 @@
+@@ -1,24 +1,23 @@
+ TARGET = yeahconsole
+-CC = gcc
++CC ?= gcc
+ #CC = cc
+ INSTALL = install
  
  PREFIX = /usr/local
  
--LIBS = -lX11 
+ LIBS = -lX11 
 -INCLUDES = -I/usr/X11R6/include 
 -LIB_DIRS = -L/usr/X11R6/lib
 -FLAGS = -Os -Wall
-+LIBS = -lX11
-+INCLUDES = -I/usr/local/include 
-+LIB_DIRS = -L/usr/local/lib
-+CFLAGS? = -Os -Wall
++INCLUDES = -I$(LOCALBASE)/include
++LIB_DIRS = -L$(LOCALBASE)/lib
++CFLAGS ?= -Os -Wall
  
  OBJECTS := yeahconsole.o
  SOURCES := yeahconsole.c
  
  $(TARGET): $(OBJECTS) 
 -	$(CC) $(DEFINES) $(INCLUDES) $(LIB_DIRS) $(LIBS) -o $@ $<
-+	$(CC) $(DEFINES) $(INCLUDES) $(LIB_DIRS) $(LIBS) -o $@ $(SOURCES)
- 	strip $@
+-	strip $@
++	$(CC) $(DEFINES) $(INCLUDES) $(LIB_DIRS) $(LIBS) -o $@ $>
  
  $(OBJECTS): $(SOURCES) 
 -	$(CC) $(FLAGS)  $(DEFINES) $(INCLUDES) $(LIB_DIRS) -c -o $@ $<
--
-+	$(CC) $(CFLAGS)  $(DEFINES) $(INCLUDES) $(LIB_DIRS) -c -o $@ $(SOURCES)
-+all:	$(TARGET)
++	$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) $(LIB_DIRS) -c -o $@ $<
+ 
  clean:
  	rm -rf $(TARGET) $(OBJECTS)
- 
- install: $(TARGET) $(MAN)
--	$(INSTALL) -o root -g root -m 0755 $(TARGET) $(PREFIX)/bin
-+	$(INSTALL) -o root -g wheel -m 0755 $(TARGET) $(PREFIX)/bin
- 	
- 
- uninstall:

Modified: head/x11/yeahconsole/pkg-descr
==============================================================================
--- head/x11/yeahconsole/pkg-descr	Sat Nov  9 15:19:58 2013	(r333300)
+++ head/x11/yeahconsole/pkg-descr	Sat Nov  9 15:27:25 2013	(r333301)
@@ -1,5 +1,6 @@
-YeahConsole turns an xterm into a gamelike console.
-This means it will slide down from top of your screen
-if you hit a shortcut key.
+YeahConsole is a terminal wrapper for creating drop-down consoles, similar
+to those found in games like Quake.
+
+By default, YeahConsole is activated and hidden with Ctrl+Alt+Y.
 
 WWW: http://phrat.de/yeahtools.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311091527.rA9FRPM5023868>