1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Add print/papersize-default-{a4,letter}, which install default paper size

configuration used by libpaper.

Discussed with:	bsam
Feature safe:	yes
This commit is contained in:
Hiroki Sato 2012-03-17 09:34:50 +00:00
parent 5f190aa347
commit 350c353727
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293446
5 changed files with 51 additions and 0 deletions

View File

@ -207,6 +207,8 @@
SUBDIR += p5-Text-PDF
SUBDIR += p5-XML-ApacheFOP
SUBDIR += panda
SUBDIR += papersize-default-a4
SUBDIR += papersize-default-letter
SUBDIR += paps
SUBDIR += passivetex
SUBDIR += pcal

View File

@ -0,0 +1,34 @@
# New ports collection makefile for: papersize-default-a4
# Date created: March 2, 2012
# Whom: hrs
#
# $FreeBSD$
#
PORTNAME= papersize-default
PORTVERSION= 0.0.20120302
CATEGORIES= print
MASTER_SITES= # none
PKGNAMESUFFIX= -${DEFAULTPAPERSIZE:L}
DISTFILES= # none
MAINTAINER= hrs@FreeBSD.org
COMMENT= A default paper size configuration file for libpaper
LIB_DEPENDS= paper:${PORTSDIR}/print/libpaper
NO_BUILD= yes
DEFAULTPAPERSIZE?= a4
.for P in a4 letter
.if ${DEFAULTPAPERSIZE:L:M${P}} != ${P}
CONFLICTS+= papersize-default-${P}-[0-9]*
.endif
.endfor
PLIST_FILES= etc/papersize
do-install:
${LN} -s -f papersize.${DEFAULTPAPERSIZE:L} ${PREFIX}/etc/papersize
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
This installs a libpaper configuration file to set the default paper size as
A4.

View File

@ -0,0 +1,11 @@
# New ports collection makefile for: papersize-default-letter
# Date created: March 2, 2012
# Whom: hrs
#
# $FreeBSD$
#
MASTERDIR= ${PORTSDIR}/print/papersize-default-a4
DEFAULTPAPERSIZE= letter
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,2 @@
This installs a libpaper configuration file to set the default paper size as
US letter.