1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/math/sc-im/Makefile
2024-08-19 11:07:34 +02:00

32 lines
761 B
Makefile

PORTNAME= sc-im
DISTVERSIONPREFIX= v
DISTVERSION= 0.8.4
CATEGORIES= math
MAINTAINER= bapt@FreeBSD.org
COMMENT= Ncurses spreadsheet program for terminal
WWW= https://github.com/andmarti1424/sc-im
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="${PREFIX}/share/man/man1"
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sc-im
${RM} ${STAGEDIR}${PREFIX}/bin/scopen
.include <bsd.port.mk>