ports/170297: [PATCH] x11/xdialog: drop master_sites, adopt optionng
Jason Helfman
jgh at FreeBSD.org
Tue Jul 31 17:10:10 UTC 2012
>Number: 170297
>Category: ports
>Synopsis: [PATCH] x11/xdialog: drop master_sites, adopt optionng
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 31 17:10:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Jason Helfman
>Release: FreeBSD 8.3-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD dormouse.experts-exchange.com 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr 9 21:23:18 UTC
>Description:
drop bad master_sites (confirmed) http://lists.freebsd.org/pipermail/freebsd-ports/2012-July/077202.html
adopt optionsng
Port maintainer (sylvio at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- xdialog-2.3.1_5.patch begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 301799)
+++ Makefile (working copy)
@@ -10,8 +10,7 @@
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 at FreeBSD.org
@@ -26,7 +25,9 @@
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 @@
${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}
--- xdialog-2.3.1_5.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list