Files
tb 2a43ca3d4f lowdown: use ports-gcc on base-gcc
base-gcc doesn't support deprecated attributes with deprecation message.
ports-gcc is lower friction than patching the header:

lowdown.h:460: error: wrong number of arguments specified for 'deprecated' attribute
2026-04-17 13:23:51 +00:00

36 lines
723 B
Makefile

COMMENT = simple markdown translator
DISTNAME = lowdown-3.0.1
CATEGORIES = textproc
SHARED_LIBS = lowdown 4.0 # 3
# base-gcc doesn't support deprecation attribute with message
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
HOMEPAGE = https://kristaps.bsd.lv/lowdown/
MAINTAINER = Bryan Vyhmeister <bryan@bsdjournal.net>
# ISC
PERMIT_PACKAGE = Yes
SITES = https://kristaps.bsd.lv/lowdown/snapshots/
# uses pledge()
WANTLIB += c m
CONFIGURE_STYLE = simple
CONFIGURE_ARGS = PREFIX="${PREFIX}"
MAKE_FLAGS += LIBVER="${LIBlowdown_VERSION}"
ALL_TARGET = lowdown
FAKE_TARGET = install install_libs
TEST_TARGET = regress
post-install:
# remove liblowdown.so
rm ${PREFIX}/lib/liblowdown.so
.include <bsd.port.mk>