mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Mark BROKEN on pre-10.x:
Error expanding embedded variable. - While here, add LICENSE_FILE Reported by: pkg-fallout
This commit is contained in:
parent
14e7f7aba9
commit
bdd6f49460
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=387466
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user