Date: Tue, 26 May 2015 12:18:19 +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: r387466 - head/textproc/sdcv Message-ID: <201505261218.t4QCIJgY014757@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue May 26 12:18:18 2015 New Revision: 387466 URL: https://svnweb.freebsd.org/changeset/ports/387466 Log: - Mark BROKEN on pre-10.x: Error expanding embedded variable. - While here, add LICENSE_FILE Reported by: pkg-fallout Modified: head/textproc/sdcv/Makefile Modified: head/textproc/sdcv/Makefile ============================================================================== --- head/textproc/sdcv/Makefile Tue May 26 12:10:11 2015 (r387465) +++ head/textproc/sdcv/Makefile Tue May 26 12:18:18 2015 (r387466) @@ -11,6 +11,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Text-based utility for work with dictionaries in StarDict's format LICENSE= GPLv2 # (or later) +LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes USES= autoreconf gettext pkgconfig readline tar:bzip2 @@ -21,6 +22,12 @@ SUB_FILES= pkg-message CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 1000000 +BROKEN= does not build on < 10.x: error expanding embedded variable +.endif + post-patch: .for i in doc/sdcv.1 src/sdcv.cpp @${REINPLACE_CMD} -e \ @@ -34,4 +41,4 @@ post-patch: @${REINPLACE_CMD} '/AM_GNU_GETTEXT_VERSION/s/0\.14\.1/0.19.1/' \ ${WRKSRC}/configure.ac -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505261218.t4QCIJgY014757>