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:
parent
5f190aa347
commit
350c353727
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293446
@ -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
|
||||
|
34
print/papersize-default-a4/Makefile
Normal file
34
print/papersize-default-a4/Makefile
Normal 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>
|
2
print/papersize-default-a4/pkg-descr
Normal file
2
print/papersize-default-a4/pkg-descr
Normal file
@ -0,0 +1,2 @@
|
||||
This installs a libpaper configuration file to set the default paper size as
|
||||
A4.
|
11
print/papersize-default-letter/Makefile
Normal file
11
print/papersize-default-letter/Makefile
Normal 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"
|
2
print/papersize-default-letter/pkg-descr
Normal file
2
print/papersize-default-letter/pkg-descr
Normal file
@ -0,0 +1,2 @@
|
||||
This installs a libpaper configuration file to set the default paper size as
|
||||
US letter.
|
Loading…
Reference in New Issue
Block a user