diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2012-03-17 11:30:24 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2012-03-17 11:30:24 +0000 |
commit | 82020bb02cc3369765a8cc609eb00c013473abc4 (patch) | |
tree | ae5b7ee84d0adf667a6f5d4f5dd5e9fc686ea801 /print/libpaper | |
parent | Welcome GCC 4.8! For the next couple of months this is going to be (diff) |
Add etc/papersize.{a4,letter}.
Discussed with: bsam
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=293451
Diffstat (limited to 'print/libpaper')
-rw-r--r-- | print/libpaper/Makefile | 9 | ||||
-rw-r--r-- | print/libpaper/pkg-plist | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/print/libpaper/Makefile b/print/libpaper/Makefile index 1be16183ce60..969120fa39e1 100644 --- a/print/libpaper/Makefile +++ b/print/libpaper/Makefile @@ -7,6 +7,7 @@ PORTNAME= libpaper PORTVERSION= 1.1.24 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_DEBIAN} MASTER_SITE_SUBDIR= pool/main/libp/libpaper @@ -39,4 +40,12 @@ post-configure: @${REINPLACE_CMD} -e 's|$${prefix}|${PREFIX}|g' ${WRKSRC}/config.h \ ${WRKSRC}/src/paperconfig +pre-build: + ${ECHO_CMD} a4 > ${WRKDIR}/papersize.a4 + ${ECHO_CMD} letter > ${WRKDIR}/papersize.letter + +post-install: + cd ${WRKDIR} && \ + ${INSTALL_DATA} papersize.a4 papersize.letter ${PREFIX}/etc + .include <bsd.port.mk> diff --git a/print/libpaper/pkg-plist b/print/libpaper/pkg-plist index c8cf18c62cbc..be5e2161eac2 100644 --- a/print/libpaper/pkg-plist +++ b/print/libpaper/pkg-plist @@ -1,4 +1,7 @@ +@comment $FreeBSD$ bin/paperconf +etc/papersize.a4 +etc/papersize.letter include/paper.h lib/libpaper.a lib/libpaper.la |