From owner-svn-ports-head@FreeBSD.ORG Fri Nov 8 10:37:44 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 027A47BF; Fri, 8 Nov 2013 10:37:44 +0000 (UTC) (envelope-from martymac@FreeBSD.org) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D5B322072; Fri, 8 Nov 2013 10:37:43 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA8AbhUW035299; Fri, 8 Nov 2013 10:37:43 GMT (envelope-from martymac@svn.freebsd.org) Received: (from martymac@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA8Abh7E035293; Fri, 8 Nov 2013 10:37:43 GMT (envelope-from martymac@svn.freebsd.org) Message-Id: <201311081037.rA8Abh7E035293@svn.freebsd.org> From: Ganael LAPLANCHE Date: Fri, 8 Nov 2013 10:37:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333193 - in head/deskutils/notecase: . 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.14 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: Fri, 08 Nov 2013 10:37:44 -0000 Author: martymac Date: Fri Nov 8 10:37:42 2013 New Revision: 333193 URL: http://svnweb.freebsd.org/changeset/ports/333193 Log: - Enable staging - Update USES - Rework doc installation - Strip installed binary Modified: head/deskutils/notecase/Makefile head/deskutils/notecase/files/patch-Makefile (contents, props changed) head/deskutils/notecase/pkg-plist Modified: head/deskutils/notecase/Makefile ============================================================================== --- head/deskutils/notecase/Makefile Fri Nov 8 10:36:20 2013 (r333192) +++ head/deskutils/notecase/Makefile Fri Nov 8 10:37:42 2013 (r333193) @@ -3,7 +3,7 @@ PORTNAME= notecase PORTVERSION= 1.9.8 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= deskutils textproc MASTER_SITES= SF DISTNAME= ${PORTNAME}-${PORTVERSION}_src @@ -13,22 +13,16 @@ COMMENT= Hierarchical text notes manager LICENSE= BSD -USE_GMAKE= yes USE_GNOME= gtk20 gtksourceview2 gnomevfs2 -USES= desktop-file-utils gettext pkgconfig shared-mime-info +USES= gmake desktop-file-utils gettext pkgconfig shared-mime-info USE_DOS2UNIX= yes DOS2UNIX_REGEX= .*\.(c|h|cpp) WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MDOCS} PORTDOCS= help.ncd INSTALL_TARGET= install docinstall -.endif post-patch: @${REINPLACE_CMD} -e 's|^prefix=.*|prefix=${PREFIX}|' \ @@ -36,4 +30,7 @@ post-patch: @${REINPLACE_CMD} -e 's|^docsdir=.*|docsdir=${DOCSDIR}|' \ ${WRKSRC}/Makefile +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/notecase + .include Modified: head/deskutils/notecase/files/patch-Makefile ============================================================================== --- head/deskutils/notecase/files/patch-Makefile Fri Nov 8 10:36:20 2013 (r333192) +++ head/deskutils/notecase/files/patch-Makefile Fri Nov 8 10:37:42 2013 (r333193) @@ -1,5 +1,5 @@ --- Makefile.orig 2008-12-09 11:07:06.000000000 +0100 -+++ Makefile 2011-06-23 19:11:55.067358819 +0200 ++++ Makefile 2013-11-05 17:07:34.000000000 +0100 @@ -10,9 +10,10 @@ VERSION=1.9.8 @@ -27,8 +27,8 @@ - + +docinstall: -+ install -d -m 755 "$(docsdir)" -+ $(INSTALL) -m 644 -c docs/help.ncd "$(docsdir)/help.ncd" ++ install -d -m 755 "$(DESTDIR)$(docsdir)" ++ $(INSTALL) -m 644 -c docs/help.ncd "$(DESTDIR)$(docsdir)/help.ncd" + # # install application Modified: head/deskutils/notecase/pkg-plist ============================================================================== --- head/deskutils/notecase/pkg-plist Fri Nov 8 10:36:20 2013 (r333192) +++ head/deskutils/notecase/pkg-plist Fri Nov 8 10:37:42 2013 (r333193) @@ -34,9 +34,9 @@ share/locale/ta/LC_MESSAGES/notecase.mo share/locale/tr/LC_MESSAGES/notecase.mo share/locale/zh_CN/LC_MESSAGES/notecase.mo share/locale/zh_TW/LC_MESSAGES/notecase.mo -share/mime/application/notecase-enc.xml -share/mime/application/notecase-plain.xml share/mime/packages/notecase.xml +@dirrmtry share/mime/packages +@dirrmtry share/mime share/pixmaps/notecase.xpm @dirrmtry share/locale/fr_CA/LC_MESSAGES @dirrmtry share/locale/fr_CA