mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
2a43ca3d4f
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
36 lines
723 B
Makefile
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>
|