From owner-svn-ports-head@FreeBSD.ORG Wed Jul 2 03:30:45 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 36F75CBD; Wed, 2 Jul 2014 03:30:45 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1791E2EBC; Wed, 2 Jul 2014 03:30:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s623Ui7F082992; Wed, 2 Jul 2014 03:30:44 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s623UiHZ082988; Wed, 2 Jul 2014 03:30:44 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201407020330.s623UiHZ082988@svn.freebsd.org> From: "Vanilla I. Shu" Date: Wed, 2 Jul 2014 03:30:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360129 - in head/x11-wm/ion: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2014 03:30:45 -0000 Author: vanilla Date: Wed Jul 2 03:30:43 2014 New Revision: 360129 URL: http://svnweb.freebsd.org/changeset/ports/360129 QAT: https://qat.redports.org/buildarchive/r360129/ Log: 1: Stagify. 2: use @sample to handle sample config file. 3: bump version. Approved by: portmgr@ (blanket approval) Added: head/x11-wm/ion/files/patch-Makefile (contents, props changed) head/x11-wm/ion/files/patch-src-Makefile (contents, props changed) Modified: head/x11-wm/ion/Makefile head/x11-wm/ion/pkg-plist Modified: head/x11-wm/ion/Makefile ============================================================================== --- head/x11-wm/ion/Makefile Wed Jul 2 03:21:04 2014 (r360128) +++ head/x11-wm/ion/Makefile Wed Jul 2 03:30:43 2014 (r360129) @@ -3,7 +3,7 @@ PORTNAME= ion PORTVERSION= 20020207 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-wm MASTER_SITES= http://modeemi.fi/~tuomov/dl/archives/ @@ -12,10 +12,7 @@ COMMENT= A window manager with a text-ed CONFLICTS= ion-2-* -MAN1= ion.1x - USE_XORG= x11 USES= gmake -NO_STAGE= yes .include Added: head/x11-wm/ion/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-wm/ion/files/patch-Makefile Wed Jul 2 03:30:43 2014 (r360129) @@ -0,0 +1,55 @@ +--- Makefile.orig 2014-07-02 11:22:29.181567830 +0800 ++++ Makefile 2014-07-02 11:24:31.679559320 +0800 +@@ -17,7 +17,7 @@ SCRIPTS=scripts/ion-edit scripts/ion-man + + ETC= etc/bindings-default.conf etc/bindings-sun.conf etc/kludges.conf \ + etc/look-brownsteel.conf etc/look-greyviolet.conf \ +- etc/look-simpleblue.conf etc/look-wheat.conf etc/sample.conf ++ etc/look-simpleblue.conf etc/look-wheat.conf + + DOCS= README LICENSE ChangeLog doc/config.txt doc/functions.txt + +@@ -31,34 +31,22 @@ man/ion.1x: man/ion.1x.in + sed 's#PREFIX#$(PREFIX)#g' man/ion.1x.in > man/ion.1x + + _install: +- $(INSTALLDIR) $(BINDIR) ++ $(INSTALLDIR) $(DESTDIR)$(BINDIR) + for i in $(SCRIPTS); do \ +- $(INSTALL) -m $(BIN_MODE) $$i $(BINDIR); \ ++ $(INSTALL) -m $(BIN_MODE) $$i $(DESTDIR)$(BINDIR); \ + done + +- $(INSTALLDIR) $(MANDIR)/man1 +- $(INSTALL) -m $(DATA_MODE) man/ion.1x $(MANDIR)/man1 ++ $(INSTALLDIR) $(DESTDIR)$(MANDIR)/man1 ++ $(INSTALL) -m $(DATA_MODE) man/ion.1x $(DESTDIR)$(MANDIR)/man1 + +- $(INSTALLDIR) $(DOCDIR)/ion ++ $(INSTALLDIR) $(DESTDIR)$(DOCDIR)/ion + for i in $(DOCS); do \ +- $(INSTALL) -m $(DATA_MODE) $$i $(DOCDIR)/ion; \ ++ $(INSTALL) -m $(DATA_MODE) $$i $(DESTDIR)$(DOCDIR)/ion; \ + done + +- $(INSTALLDIR) $(ETCDIR)/ion ++ $(INSTALLDIR) $(DESTDIR)$(ETCDIR)/ion + for i in $(ETC); do \ +- $(INSTALL) -m $(DATA_MODE) $$i $(ETCDIR)/ion; \ ++ $(INSTALL) -m $(DATA_MODE) $$i $(DESTDIR)$(ETCDIR)/ion; \ + done +- +- @ if test -f $(ETCDIR)/ion/ion.conf ; then \ +- echo "$(ETCDIR)/ion/ion.conf already exists. Not installing one."; \ +- else \ +- echo "Installing configuration file $(ETCDIR)/ion/ion.conf"; \ +- if uname -s -p|grep "SunOS sparc" > /dev/null; then \ +- sed s/bindings-default/bindings-sun/ \ +- $(ETCDIR)/ion/sample.conf > $(ETCDIR)/ion/ion.conf; \ +- chmod $(DATA_MODE) $(ETCDIR)/ion/ion.conf; \ +- else \ +- cp $(ETCDIR)/ion/sample.conf $(ETCDIR)/ion/ion.conf; \ +- fi; \ +- fi ++ $(INSTALL) -m $(DATA_MODE) etc/sample.conf $(DESTDIR)$(ETCDIR)/ion/ion.conf.sample; + Added: head/x11-wm/ion/files/patch-src-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-wm/ion/files/patch-src-Makefile Wed Jul 2 03:30:43 2014 (r360129) @@ -0,0 +1,12 @@ +--- src/Makefile.orig 2014-07-02 11:27:14.555548726 +0800 ++++ src/Makefile 2014-07-02 11:27:31.345550958 +0800 +@@ -35,6 +35,6 @@ ion: $(OBJS) $(EXT_OBJS) + $(CC) $(OBJS) $(EXT_OBJS) $(LDFLAGS) -o $@ + + _install: +- $(INSTALLDIR) $(BINDIR) +- $(INSTALL) -m $(BIN_MODE) ion $(BINDIR) +- $(STRIP) $(BINDIR)/ion ++ $(INSTALLDIR) $(DESTDIR)$(BINDIR) ++ $(INSTALL) -m $(BIN_MODE) ion $(DESTDIR)$(BINDIR) ++ $(STRIP) $(DESTDIR)$(BINDIR)/ion Modified: head/x11-wm/ion/pkg-plist ============================================================================== --- head/x11-wm/ion/pkg-plist Wed Jul 2 03:21:04 2014 (r360128) +++ head/x11-wm/ion/pkg-plist Wed Jul 2 03:30:43 2014 (r360129) @@ -4,20 +4,19 @@ bin/ion-man bin/ion-runinxterm bin/ion-ssh bin/ion-view -etc/ion/bindings-default.conf -etc/ion/bindings-sun.conf -etc/ion/kludges.conf -etc/ion/look-brownsteel.conf -etc/ion/look-greyviolet.conf -etc/ion/look-simpleblue.conf -etc/ion/look-wheat.conf -@unexec if cmp -s %D/etc/ion/ion.conf %D/etc/ion/sample.conf; then rm -f %D/etc/ion/ion.conf; fi -etc/ion/sample.conf -@exec [ -f %B/ion.conf ] || cp %B/%f %B/ion.conf -share/doc/ion/README -share/doc/ion/LICENSE -share/doc/ion/ChangeLog -share/doc/ion/config.txt -share/doc/ion/functions.txt -@dirrm share/doc/ion -@dirrmtry etc/ion +%%ETCDIR%%/bindings-default.conf +%%ETCDIR%%/bindings-sun.conf +%%ETCDIR%%/kludges.conf +%%ETCDIR%%/look-brownsteel.conf +%%ETCDIR%%/look-greyviolet.conf +%%ETCDIR%%/look-simpleblue.conf +%%ETCDIR%%/look-wheat.conf +man/man1/ion.1x.gz +@sample %%ETCDIR%%/ion.conf.sample +%%DOCSDIR%%/README +%%DOCSDIR%%/LICENSE +%%DOCSDIR%%/ChangeLog +%%DOCSDIR%%/config.txt +%%DOCSDIR%%/functions.txt +@dirrm %%DOCSDIR%% +@dirrmtry %%ETCDIR%%