freebsd-ports/print/libpaper/Makefile
Johannes Jost Meixner c6ee6e1559 print/libpaper: update to 1.1.24.4
- update to 1.1.24.4

PR:		199639
Submitted by:	David Harrigan <dharrigan@gmail.com>
Approved by:	maintainer timeout (2 weeks)
2015-05-29 14:18:20 +00:00

35 lines
803 B
Makefile

# Created by: lofi@FreeBSD.org
# $FreeBSD$
PORTNAME= libpaper
PORTVERSION= 1.1.24.4
CATEGORIES= print
MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION:C/.([0-9]+)$/+nmu\1/}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Library providing routines for paper size management
LICENSE= GPLv2
USES= libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/.([0-9]+)$/+nmu\1/}
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>