1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/print/papersize-default-a4/Makefile
Baptiste Daroussin 4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00

32 lines
639 B
Makefile

# Created by: hrs
# $FreeBSD$
PORTNAME= papersize-default
PORTVERSION= 0.0.20120302
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>