svn commit: r387466 - head/textproc/sdcv

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue May 26 12:18:19 UTC 2015


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 at 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>


More information about the svn-ports-all mailing list