freebsd-ports/print/papersize-default-a4/Makefile
Dmitry Marakasov 627d72d304 - Switch print/libpaper to USES=libtool, drop .la files
- Bump dependent ports as .so version has changed

Approved by:	portmgr blanket
2014-06-20 11:15:57 +00:00

32 lines
655 B
Makefile

# Created by: hrs
# $FreeBSD$
PORTNAME= papersize-default
PORTVERSION= 0.0.20120302
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= # none
PKGNAMESUFFIX= -${DEFAULTPAPERSIZE:tl}
DISTFILES= # none
MAINTAINER= hrs@FreeBSD.org
COMMENT= A default paper size configuration file for libpaper
LIB_DEPENDS= libpaper.so:${PORTSDIR}/print/libpaper
NO_BUILD= yes
DEFAULTPAPERSIZE?= a4
.for P in a4 letter
.if ${DEFAULTPAPERSIZE:tl:M${P}} != ${P}
CONFLICTS_INSTALL+= papersize-default-${P}-[0-9]*
.endif
.endfor
PLIST_FILES= etc/papersize
do-install:
${LN} -s -f papersize.${DEFAULTPAPERSIZE:tl} \
${STAGEDIR}${PREFIX}/etc/papersize
.include <bsd.port.mk>