From owner-svn-ports-head@FreeBSD.ORG Fri Nov 29 16:47:04 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 ESMTPS id C29751CB; Fri, 29 Nov 2013 16:47:04 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AE20E10EE; Fri, 29 Nov 2013 16:47:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rATGl4Ot019421; Fri, 29 Nov 2013 16:47:04 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rATGl45k019419; Fri, 29 Nov 2013 16:47:04 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201311291647.rATGl45k019419@svn.freebsd.org> From: Rusmir Dusko Date: Fri, 29 Nov 2013 16:47:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335194 - in head/graphics/viewnior: . 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.16 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, 29 Nov 2013 16:47:04 -0000 Author: nemysis Date: Fri Nov 29 16:47:03 2013 New Revision: 335194 URL: http://svnweb.freebsd.org/changeset/ports/335194 Log: - Change Makefile header - Change maintainer email to @FreeBSD.org - USES shared-mime-info instead of misc/shared-mime-info - Add DOCS Option - Support STAGEDIR and add OPTIONS_SUB - Use REINPLACE_CMD instead of simple patches - Change pkg-plist, remove mtree Approved by: pawel / wg (mentors, implicit) Deleted: head/graphics/viewnior/files/ Modified: head/graphics/viewnior/Makefile head/graphics/viewnior/pkg-plist Modified: head/graphics/viewnior/Makefile ============================================================================== --- head/graphics/viewnior/Makefile Fri Nov 29 16:17:10 2013 (r335193) +++ head/graphics/viewnior/Makefile Fri Nov 29 16:47:03 2013 (r335194) @@ -1,4 +1,4 @@ -# Created by: nemysis@gmx.ch +# Created by: nemysis # $FreeBSD$ PORTNAME= viewnior @@ -7,43 +7,33 @@ PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://cloud.github.com/downloads/xsisqox/Viewnior/ -MAINTAINER= nemysis@gmx.ch +MAINTAINER= nemysis@FreeBSD.org COMMENT= Fast and simple image viewer LICENSE= GPLv3 -BUILD_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info -RUN_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info - -GNU_CONFIGURE= yes -USES= gmake pkgconfig +USES= gmake pkgconfig shared-mime-info USE_AUTOTOOLS= autoconf +GNU_CONFIGURE= yes USE_GNOME= glib20 gtk20 INSTALLS_ICONS= yes -MAN1= viewnior.1 - PORTDOCS= AUTHORS ChangeLog NEWS README TODO -OPTIONS_DEFINE= NLS -OPTIONS_DEFAULT= NLS +OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes -NO_STAGE= yes -.include +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +post-patch: + @${REINPLACE_CMD} -e 's|$$(prefix)/$$(DATADIRNAME)/locale|$$(datarootdir)/locale|' \ + ${WRKSRC}/po/Makefile.in.in post-install: - ${INSTALL_MAN} ${WRKSRC}/man/${MAN1} ${MAN1PREFIX}/man/man1 -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ + + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Modified: head/graphics/viewnior/pkg-plist ============================================================================== --- head/graphics/viewnior/pkg-plist Fri Nov 29 16:17:10 2013 (r335193) +++ head/graphics/viewnior/pkg-plist Fri Nov 29 16:47:03 2013 (r335194) @@ -1,4 +1,12 @@ bin/viewnior +man/man1/viewnior.1.gz +share/applications/viewnior.desktop +share/icons/hicolor/16x16/apps/viewnior.png +share/icons/hicolor/22x22/apps/viewnior.png +share/icons/hicolor/24x24/apps/viewnior.png +share/icons/hicolor/32x32/apps/viewnior.png +share/icons/hicolor/48x48/apps/viewnior.png +share/icons/hicolor/scalable/apps/viewnior.svg %%NLS%%share/locale/bg/LC_MESSAGES/viewnior.mo %%NLS%%share/locale/cs/LC_MESSAGES/viewnior.mo %%NLS%%share/locale/da/LC_MESSAGES/viewnior.mo @@ -25,13 +33,6 @@ bin/viewnior %%NLS%%share/locale/tr/LC_MESSAGES/viewnior.mo %%NLS%%share/locale/uk/LC_MESSAGES/viewnior.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/viewnior.mo -share/applications/viewnior.desktop -share/icons/hicolor/16x16/apps/viewnior.png -share/icons/hicolor/22x22/apps/viewnior.png -share/icons/hicolor/24x24/apps/viewnior.png -share/icons/hicolor/32x32/apps/viewnior.png -share/icons/hicolor/48x48/apps/viewnior.png -share/icons/hicolor/scalable/apps/viewnior.svg %%DATADIR%%/pixmaps/object-flip-horizontal.png %%DATADIR%%/pixmaps/object-flip-vertical.png %%DATADIR%%/pixmaps/object-rotate-left.png @@ -40,19 +41,5 @@ share/icons/hicolor/scalable/apps/viewni %%DATADIR%%/vnr-preferences-dialog.ui @dirrm %%DATADIR%%/pixmaps @dirrm %%DATADIR%% -@dirrmtry share/icons/hicolor/scalable/apps -@dirrmtry share/icons/hicolor/scalable -@dirrmtry share/icons/hicolor/48x48/apps -@dirrmtry share/icons/hicolor/48x48 -@dirrmtry share/icons/hicolor/32x32/apps -@dirrmtry share/icons/hicolor/32x32 -@dirrmtry share/icons/hicolor/24x24/apps -@dirrmtry share/icons/hicolor/24x24 -@dirrmtry share/icons/hicolor/22x22/apps -@dirrmtry share/icons/hicolor/22x22 -@dirrmtry share/icons/hicolor/16x16/apps -@dirrmtry share/icons/hicolor/16x16 -@dirrmtry share/icons/hicolor -@dirrmtry share/icons %%NLS%%@dirrmtry share/locale/oc/LC_MESSAGES %%NLS%%@dirrmtry share/locale/oc