mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
30 lines
564 B
Makefile
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>
|