Bug 170751 - [MAINTAINER] graphics/viewnior: Makefile changed, OptionsNG for NLS
Summary: [MAINTAINER] graphics/viewnior: Makefile changed, OptionsNG for NLS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Guido Falsi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-18 19:30 UTC by nemysis
Modified: 2012-08-19 15:30 UTC (History)
1 user (show)

See Also:


Attachments
viewnior-1.3_1.patch (1.29 KB, patch)
2012-08-18 19:30 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2012-08-18 19:30:11 UTC
Makefile changed:

From bsd.gnome.mk

glib20 and gtk20 use intltool and pkgconfig

-USE_GNOME=<--->glib20 gtk20 intltool pkgconfig
+USE_GNOME=<--->glib20 gtk20


Deleted INSTALL why isn't needed after Installation.

OptionsNG

New OptionsNG for NLS

.if ${PORT_OPTIONS:MDOCS}

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
Comment 1 Guido Falsi freebsd_committer freebsd_triage 2012-08-19 10:00:00 UTC
Responsible Changed
From-To: freebsd-ports-bugs->madpilot

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-08-19 15:20:12 UTC
Author: madpilot
Date: Sun Aug 19 14:20:01 2012
New Revision: 302760
URL: http://svn.freebsd.org/changeset/ports/302760

Log:
  - Convert to OptionsNG
  - Don't depend on intltool and pkgconfig
  - Remove INSTALL from PORTDOCS
  - Bump PORTREVISION
  
  PR:		ports/170751
  Submitted by:	nemysis <nemysis@gmx.ch> (maintainer)
  Approved by:	crees (mentor)

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

Modified: head/graphics/viewnior/Makefile
==============================================================================
--- head/graphics/viewnior/Makefile	Sun Aug 19 13:19:48 2012	(r302759)
+++ head/graphics/viewnior/Makefile	Sun Aug 19 14:20:01 2012	(r302760)
@@ -7,6 +7,7 @@
 
 PORTNAME=	viewnior
 PORTVERSION=	1.3
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	http://cloud.github.com/downloads/xsisqox/Viewnior/
 
@@ -21,29 +22,31 @@ RUN_DEPENDS=	update-mime-database:${PORT
 GNU_CONFIGURE=	yes
 USE_AUTOTOOLS=	autoconf
 USE_GMAKE=	yes
-USE_GNOME=	glib20 gtk20 intltool pkgconfig
+USE_GNOME=	glib20 gtk20
 INSTALLS_ICONS=	yes
 
 MAN1=		viewnior.1
 
-PORTDOCS=	AUTHORS ChangeLog INSTALL NEWS README TODO
+PORTDOCS=	AUTHORS ChangeLog NEWS README TODO
 
-OPTIONS=	NLS		"Enable gettext support" on
+OPTIONS_DEFINE=	NLS
+NLS_DESC=	Native Language Support via gettext
+OPTIONS_DEFAULT=	NLS
 
 .include <bsd.port.options.mk>
 
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.else
+.if ${PORT_OPTIONS:MNLS}
 USE_GETTEXT=	yes
 PLIST_SUB+=	NLS=""
+.else
+CONFIGURE_ARGS+=	--disable-nls
+PLIST_SUB+=	NLS="@comment "
 .endif
 
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/man/${MAN1} ${MAN1PREFIX}/man/man1
-# Documentations
-.if !defined(NOPORTDOCS)
+# Documentation
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 .  for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Guido Falsi freebsd_committer freebsd_triage 2012-08-19 15:20:15 UTC
State Changed
From-To: open->closed

Committed. Thanks!