Date: Mon, 28 Dec 2015 14:04:02 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404644 - head/x11/xdialog Message-ID: <201512281404.tBSE42ah015334@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Dec 28 14:04:02 2015 New Revision: 404644 URL: https://svnweb.freebsd.org/changeset/ports/404644 Log: - Add LICENSE - Switch to USES=localbase - Switch to options helpers Modified: head/x11/xdialog/Makefile Modified: head/x11/xdialog/Makefile ============================================================================== --- head/x11/xdialog/Makefile Mon Dec 28 14:03:53 2015 (r404643) +++ head/x11/xdialog/Makefile Mon Dec 28 14:04:02 2015 (r404644) @@ -11,23 +11,18 @@ DISTNAME= ${PORTNAME:S/x/X/}-${PORTVERSI MAINTAINER= ports@FreeBSD.org COMMENT= Drop in replacement for the "dialog" or "cdialog" programs -USES= tar:bzip2 +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= localbase tar:bzip2 USE_GNOME= gtk12 GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes -.include <bsd.port.options.mk> - -.if empty(PORT_OPTIONS:MNLS) -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.else -USES+= gettext -PLIST_SUB+= NLS="" -.endif +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ @@ -38,12 +33,10 @@ post-patch: @${REINPLACE_CMD} -e 's,Xdialog\\-%%version%%,xdialog,' \ ${WRKSRC}/doc/Xdialog.man -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/samples ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${DOCSDIR}/samples -.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512281404.tBSE42ah015334>