aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2012-10-05 00:35:25 +0800
committerjgh <jgh@FreeBSD.org>2012-10-05 00:35:25 +0800
commit8e1c4f3135c7b76caa4490401731c2faf43022fc (patch)
treeed67974703ab8e1021e97e52180111f6514ae11d /x11
parent4a7012de9e0be1f8babe02d87870da096475a8d0 (diff)
downloadfreebsd-ports-gnome-8e1c4f3135c7b76caa4490401731c2faf43022fc.tar.gz
freebsd-ports-gnome-8e1c4f3135c7b76caa4490401731c2faf43022fc.tar.zst
freebsd-ports-gnome-8e1c4f3135c7b76caa4490401731c2faf43022fc.zip
- drop broken MASTER_SITE
- while here adopt optionsNG PR: 170297 Submitted by: jgh@ (myself) Approved by: maintainer timeout ( 65 days )
Diffstat (limited to 'x11')
-rw-r--r--x11/xdialog/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/x11/xdialog/Makefile b/x11/xdialog/Makefile
index 4d85cac59d31..666bbf3a94eb 100644
--- a/x11/xdialog/Makefile
+++ b/x11/xdialog/Makefile
@@ -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}