blob: 8dc540136a0cf1e2e9cfdb167e4b75b316b2ff10 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Created by: 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= libpaper.so:${PORTSDIR}/print/libpaper
NO_BUILD= yes
DEFAULTPAPERSIZE?= a4
.for P in a4 letter
.if ${DEFAULTPAPERSIZE:L:M${P}} != ${P}
CONFLICTS_INSTALL+= papersize-default-${P}-[0-9]*
.endif
.endfor
PLIST_FILES= etc/papersize
do-install:
${LN} -s -f papersize.${DEFAULTPAPERSIZE:L} \
${STAGEDIR}${PREFIX}/etc/papersize
.include <bsd.port.mk>
|