mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
c3ce865f10
Approved by: portmgr (blanket)
37 lines
840 B
Makefile
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>
|