Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2012 16:35:25 +0000 (UTC)
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305265 - head/x11/xdialog
Message-ID:  <201210041635.q94GZPhI086767@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jgh
Date: Thu Oct  4 16:35:25 2012
New Revision: 305265
URL: http://svn.freebsd.org/changeset/ports/305265

Log:
  - drop broken MASTER_SITE
  - while here adopt optionsNG
  
  PR:		170297
  Submitted by:	jgh@ (myself)
  Approved by:	maintainer timeout ( 65 days )

Modified:
  head/x11/xdialog/Makefile

Modified: head/x11/xdialog/Makefile
==============================================================================
--- head/x11/xdialog/Makefile	Thu Oct  4 16:30:16 2012	(r305264)
+++ head/x11/xdialog/Makefile	Thu Oct  4 16:35:25 2012	(r305265)
@@ -10,8 +10,7 @@ PORTNAME=	xdialog
 PORTVERSION=	2.3.1
 PORTREVISION=	5
 CATEGORIES=	x11
-MASTER_SITES=	http://thgodef.nerim.net/xdialog/ \
-		http://xdialog.free.fr/
+MASTER_SITES=	http://xdialog.free.fr/
 DISTNAME=	${PORTNAME:S/x/X/}-${PORTVERSION}
 
 MAINTAINER=	sylvio@FreeBSD.org
@@ -26,7 +25,9 @@ MAN1=		Xdialog.1
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-.if defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if empty(PORT_OPTIONS:MNLS)
 CONFIGURE_ARGS+=	--disable-nls
 PLIST_SUB+=	NLS="@comment "
 .else
@@ -44,7 +45,7 @@ post-patch:
 		${WRKSRC}/doc/Xdialog.man
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}/samples
 	${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DOCSDIR}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210041635.q94GZPhI086767>