1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/textproc/sdcv/Makefile
Mark Linimon 9fa05cbab2 Adjust USES to fix building on gcc-based archs (in particular, powerpc64).
On the clang architectures, these changes have no effect: the baser
compiler already includes the needed features.

While here, remove now-redundant CXXFLAGS statements and pet portlint
(no other content change).

Tested on both powerpc64 and amd64.

Approved by:	portmgr (tier-2 blanket)
2018-06-02 19:40:59 +00:00

39 lines
742 B
Makefile

# Created by: chinsan <chinsan.tw@gmail.com>
# $FreeBSD$
PORTNAME= sdcv
PORTVERSION= 0.5.2
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>