svn commit: r305213 - head/graphics/viewnior

Guido Falsi madpilot at FreeBSD.org
Wed Oct 3 17:46:10 UTC 2012


Author: madpilot
Date: Wed Oct  3 17:46:09 2012
New Revision: 305213
URL: http://svn.freebsd.org/changeset/ports/305213

Log:
  - Fix plist for NLS case
  - Trim Makefile headers
  - Clean up COMMENT
  - Use standard description for NLS option
  - Rework post-install target
  - Bump PORTREVISION
  
  PR:		ports/172302
  Submitted by:	Guido Falsi <madpilot at FreeBSD.org>
  Approved by:	nemysis <nemysis at gmx.ch> (maintainer, via IRC)

Modified:
  head/graphics/viewnior/Makefile
  head/graphics/viewnior/pkg-plist   (contents, props changed)

Modified: head/graphics/viewnior/Makefile
==============================================================================
--- head/graphics/viewnior/Makefile	Wed Oct  3 16:35:21 2012	(r305212)
+++ head/graphics/viewnior/Makefile	Wed Oct  3 17:46:09 2012	(r305213)
@@ -1,18 +1,14 @@
-# New Ports collection makefile for:	viewnior
-# Date created:		2012-04-20
-# Whom:			nemysis at gmx.ch
-#
+# Created by: nemysis at gmx.ch
 # $FreeBSD$
-#
 
 PORTNAME=	viewnior
 PORTVERSION=	1.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 MASTER_SITES=	http://cloud.github.com/downloads/xsisqox/Viewnior/
 
 MAINTAINER=	nemysis at gmx.ch
-COMMENT=	Viewnior is a fast and simple image viewer
+COMMENT=	Fast and simple image viewer
 
 LICENSE=	GPLv3
 
@@ -30,7 +26,6 @@ MAN1=		viewnior.1
 PORTDOCS=	AUTHORS ChangeLog NEWS README TODO
 
 OPTIONS_DEFINE=	NLS
-NLS_DESC=	Native Language Support via gettext
 OPTIONS_DEFAULT=	NLS
 
 .include <bsd.port.options.mk>
@@ -45,12 +40,9 @@ PLIST_SUB+=	NLS="@comment "
 
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/man/${MAN1} ${MAN1PREFIX}/man/man1
-# Documentation
 .if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
-.  for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.  endfor
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/graphics/viewnior/pkg-plist
==============================================================================
--- head/graphics/viewnior/pkg-plist	Wed Oct  3 16:35:21 2012	(r305212)
+++ head/graphics/viewnior/pkg-plist	Wed Oct  3 17:46:09 2012	(r305213)
@@ -55,56 +55,5 @@ share/icons/hicolor/scalable/apps/viewni
 @dirrmtry share/icons/hicolor
 @dirrmtry share/icons
 @dirrmtry share/applications
- at dirrmtry lib/locale/zh_CN/LC_MESSAGES
- at dirrmtry lib/locale/zh_CN
- at dirrmtry lib/locale/uk/LC_MESSAGES
- at dirrmtry lib/locale/uk
- at dirrmtry lib/locale/tr/LC_MESSAGES
- at dirrmtry lib/locale/tr
- at dirrmtry lib/locale/sv/LC_MESSAGES
- at dirrmtry lib/locale/sv
- at dirrmtry lib/locale/sr/LC_MESSAGES
- at dirrmtry lib/locale/sr
- at dirrmtry lib/locale/sk/LC_MESSAGES
- at dirrmtry lib/locale/sk
- at dirrmtry lib/locale/ru/LC_MESSAGES
- at dirrmtry lib/locale/ru
- at dirrmtry lib/locale/pt_BR/LC_MESSAGES
- at dirrmtry lib/locale/pt_BR
- at dirrmtry lib/locale/pt/LC_MESSAGES
- at dirrmtry lib/locale/pt
- at dirrmtry lib/locale/pl/LC_MESSAGES
- at dirrmtry lib/locale/pl
- at dirrmtry lib/locale/oc/LC_MESSAGES
- at dirrmtry lib/locale/oc
- at dirrmtry lib/locale/nl/LC_MESSAGES
- at dirrmtry lib/locale/nl
- at dirrmtry lib/locale/lt/LC_MESSAGES
- at dirrmtry lib/locale/lt
- at dirrmtry lib/locale/ja/LC_MESSAGES
- at dirrmtry lib/locale/ja
- at dirrmtry lib/locale/it/LC_MESSAGES
- at dirrmtry lib/locale/it
- at dirrmtry lib/locale/hu/LC_MESSAGES
- at dirrmtry lib/locale/hu
- at dirrmtry lib/locale/he/LC_MESSAGES
- at dirrmtry lib/locale/he
- at dirrmtry lib/locale/gl/LC_MESSAGES
- at dirrmtry lib/locale/gl
- at dirrmtry lib/locale/fr/LC_MESSAGES
- at dirrmtry lib/locale/fr
- at dirrmtry lib/locale/fi/LC_MESSAGES
- at dirrmtry lib/locale/fi
- at dirrmtry lib/locale/es/LC_MESSAGES
- at dirrmtry lib/locale/es
- at dirrmtry lib/locale/el/LC_MESSAGES
- at dirrmtry lib/locale/el
- at dirrmtry lib/locale/de/LC_MESSAGES
- at dirrmtry lib/locale/de
- at dirrmtry lib/locale/da/LC_MESSAGES
- at dirrmtry lib/locale/da
- at dirrmtry lib/locale/cs/LC_MESSAGES
- at dirrmtry lib/locale/cs
- at dirrmtry lib/locale/bg/LC_MESSAGES
- at dirrmtry lib/locale/bg
- at dirrmtry lib/locale
+%%NLS%%@dirrmtry share/locale/oc/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/oc



More information about the svn-ports-all mailing list