diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-26 20:18:18 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-26 20:18:18 +0800 |
commit | 6169a54e39af3b78b22e82ecd90ecd7be6622042 (patch) | |
tree | d8e65e7a59649bc4af9812730304d0149bc3367e | |
parent | 4785c96c5a951961b907177ef2bf1fc24fdf8e7c (diff) | |
download | freebsd-ports-graphics-6169a54e39af3b78b22e82ecd90ecd7be6622042.tar.gz freebsd-ports-graphics-6169a54e39af3b78b22e82ecd90ecd7be6622042.tar.zst freebsd-ports-graphics-6169a54e39af3b78b22e82ecd90ecd7be6622042.zip |
- Mark BROKEN on pre-10.x:
Error expanding embedded variable.
- While here, add LICENSE_FILE
Reported by: pkg-fallout
-rw-r--r-- | textproc/sdcv/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/textproc/sdcv/Makefile b/textproc/sdcv/Makefile index f2f92b19758..99e64e47f71 100644 --- a/textproc/sdcv/Makefile +++ b/textproc/sdcv/Makefile @@ -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> |