in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 222542
39 lines
758 B
Makefile
39 lines
758 B
Makefile
# Created by: chinsan <chinsan.tw@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sdcv
|
|
PORTVERSION= 0.5.2
|
|
PORTREVISION= 1
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= textproc
|
|
|
|
MAINTAINER= citrin@citrin.ru
|
|
COMMENT= Text-based utility for work with dictionaries in StarDict's format #'
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cmake:outsource compiler:c++11-lang pkgconfig readline
|
|
USE_GNOME= glib20
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Dushistov
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_USES= gettext
|
|
NLS_CMAKE_OFF= -DENABLE_NLS:BOOL=OFF
|
|
|
|
post-patch:
|
|
.for i in doc/sdcv.1 src/sdcv.cpp
|
|
@${REINPLACE_CMD} -e \
|
|
's|/usr/share|${PREFIX}/share|' ${WRKSRC}/${i}
|
|
.endfor
|
|
|
|
post-build-NLS-on:
|
|
cd ${BUILD_WRKSRC} && ${MAKE_CMD} lang
|
|
|
|
.include <bsd.port.mk>
|