1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/math/sc-im/Makefile
Piotr Kubaj 9df980b952 math/sc-im: fix build on GCC architectures
libxlsxwriter requires newer compiler:
/usr/local/include/xlsxwriter/workbook.h:909: error: wrong number of arguments specified for 'deprecated' attribute
2019-12-07 15:49:01 +00:00

33 lines
720 B
Makefile

# $FreeBSD$
PORTNAME= sc-im
DISTVERSIONPREFIX= v
DISTVERSION= 0.7.0-81
DISTVERSIONSUFFIX= -g9beb5c0
CATEGORIES= math
MAINTAINER= bapt@FreeBSD.org
COMMENT= Ncurses spreadsheet program for terminal
LICENSE= BSD4CLAUSE
LIB_DEPENDS= libxlsreader.so:math/libxls \
libxlsxwriter.so:math/libxlsxwriter \
libzip.so:archivers/libzip
USES= compiler:c11 gmake gnome lua:51 ncurses pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= andmarti1424
USE_GNOME= libxml2
WRKSRC_SUBDIR= src
CFLAGS+= -DXLSX_EXPORT -DXLS
LIBS+= -lxlsreader -lxlsxwriter
MAKE_ENV+= LDLIBS="${LIBS}"
MAKE_ARGS+= CC="${CC}" prefix="${PREFIX}" MANDIR="${MANPREFIX}/man/man1"
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sc-im
.include <bsd.port.mk>