Files
2026-05-17 09:13:51 +00:00

30 lines
564 B
Makefile

COMMENT= library for handling paper characteristics
GH_ACCOUNT= rrthomas
GH_PROJECT= libpaper
GH_TAGNAME= v2.2.8
SHARED_LIBS += paper 1.0 # 4.7
CATEGORIES= print
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# MIT
PERMIT_PACKAGE= Yes
SITES= https://github.com/rrthomas/libpaper/releases/download/${GH_TAGNAME}/
WANTLIB += c
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
FAKE_FLAGS= sysconfdir="${PREFIX}/share/examples/libpaper"
post-install:
echo 'a4' > ${PREFIX}/share/examples/libpaper/papersize
.include <bsd.port.mk>