1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/print/libpaper/Makefile
Muhammad Moinur Rahman c3ce865f10
print/libpaper: Moved man to share/man
Approved by:    portmgr (blanket)
2024-01-27 13:36:32 +01:00

37 lines
840 B
Makefile

PORTNAME= libpaper
DISTVERSION= 1.1.28
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${DISTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Library providing routines for paper size management
WWW= https://packages.qa.debian.org/libp/libpaper.html
LICENSE= GPLv2
USES= autoreconf libtool
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
INSTALL_TARGET= install-strip
post-extract:
${ECHO_CMD} a4 > ${WRKDIR}/papersize.a4
${ECHO_CMD} letter > ${WRKDIR}/papersize.letter
post-configure:
@${REINPLACE_CMD} -e 's|$${prefix}|${PREFIX}|g' \
${WRKSRC}/config.h ${WRKSRC}/src/paperconfig
post-install:
cd ${WRKDIR} && \
${INSTALL_DATA} papersize.a4 papersize.letter \
${STAGEDIR}${PREFIX}/etc
.include <bsd.port.mk>