diff options
author | madpilot <madpilot@FreeBSD.org> | 2012-08-19 22:20:01 +0800 |
---|---|---|
committer | madpilot <madpilot@FreeBSD.org> | 2012-08-19 22:20:01 +0800 |
commit | cedddfdb1b4ebf337069a4bb4fbda60082e0c161 (patch) | |
tree | 4710875c2451c15718f2ad19f860e00b8ff0d254 /graphics/viewnior | |
parent | 7c664c5338a3fd9d6cc0b9ebd3aa215688b2fceb (diff) | |
download | freebsd-ports-gnome-cedddfdb1b4ebf337069a4bb4fbda60082e0c161.tar.gz freebsd-ports-gnome-cedddfdb1b4ebf337069a4bb4fbda60082e0c161.tar.zst freebsd-ports-gnome-cedddfdb1b4ebf337069a4bb4fbda60082e0c161.zip |
- 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)
Diffstat (limited to 'graphics/viewnior')
-rw-r--r-- | graphics/viewnior/Makefile | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/graphics/viewnior/Makefile b/graphics/viewnior/Makefile index d7294ad13e75..8ad948d87c9e 100644 --- a/graphics/viewnior/Makefile +++ b/graphics/viewnior/Makefile @@ -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:${PORTSDIR}/misc/shared-mime-info 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} |