aboutsummaryrefslogtreecommitdiff
path: root/graphics/jpeg2ps-letter
diff options
context:
space:
mode:
authorLars Koeller <lkoeller@FreeBSD.org>2004-02-08 17:32:23 +0000
committerLars Koeller <lkoeller@FreeBSD.org>2004-02-08 17:32:23 +0000
commitffc453b6a1d56a7e8c1ce7209179345c0fdc0979 (patch)
treecd73ba3454e95680f0f443c0f16d8fd476fe260e /graphics/jpeg2ps-letter
parent07de62ee207139f6c4ec5937c07b02a0ac3e5d2b (diff)
downloadports-ffc453b6a1d56a7e8c1ce7209179345c0fdc0979.tar.gz
ports-ffc453b6a1d56a7e8c1ce7209179345c0fdc0979.zip
o) Install manpage, too.
Submitted by: sad@mailaps.org
Notes
Notes: svn path=/head/; revision=100403
Diffstat (limited to 'graphics/jpeg2ps-letter')
-rw-r--r--graphics/jpeg2ps-letter/Makefile4
-rw-r--r--graphics/jpeg2ps-letter/pkg-plist4
2 files changed, 6 insertions, 2 deletions
diff --git a/graphics/jpeg2ps-letter/Makefile b/graphics/jpeg2ps-letter/Makefile
index 6003bd494c18..396ea1123bab 100644
--- a/graphics/jpeg2ps-letter/Makefile
+++ b/graphics/jpeg2ps-letter/Makefile
@@ -7,6 +7,7 @@
PORTNAME= jpeg2ps
PORTVERSION= 1.9
+PORTREVISION= 1
CATEGORIES= graphics converters
MASTER_SITES= http://www.pdflib.com/products/more/jpeg2ps/
PKGNAMESUFFIX= -${PAPERSIZE}
@@ -18,6 +19,8 @@ PAPERSIZE?= letter
INSTALL_TARGET=
+MAN1= jpeg2ps.1
+
.if ${PAPERSIZE} == a4
post-patch:
${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.input
@@ -30,6 +33,7 @@ post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/jpeg2ps.txt ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/jpeg2ps.1 ${MANPREFIX}/man/man1
.endif
.include <bsd.port.mk>
diff --git a/graphics/jpeg2ps-letter/pkg-plist b/graphics/jpeg2ps-letter/pkg-plist
index 6b5031197cb9..f7eedc602546 100644
--- a/graphics/jpeg2ps-letter/pkg-plist
+++ b/graphics/jpeg2ps-letter/pkg-plist
@@ -1,3 +1,3 @@
bin/jpeg2ps
-%%PORTDOCS%%share/doc/jpeg2ps/jpeg2ps.txt
-%%PORTDOCS%%@dirrm share/doc/jpeg2ps
+%%DOCSDIR%%share/doc/jpeg2ps/jpeg2ps.txt
+%%DOCSDIR%%@dirrm share/doc/jpeg2ps