summaryrefslogtreecommitdiff
path: root/graphics/jpeg2ps-letter
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-12-24 06:23:40 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-12-24 06:23:40 +0000
commit29788e921379c4308d498c43c97d5bc7fad3f59c (patch)
treea3962513908717c1a23d126e7d848906d3a1fc05 /graphics/jpeg2ps-letter
parentUpgrade to version 1.3.7, which makes this work again [on current] with the (diff)
utilize DOCSDIR
Diffstat (limited to 'graphics/jpeg2ps-letter')
-rw-r--r--graphics/jpeg2ps-letter/Makefile4
-rw-r--r--graphics/jpeg2ps-letter/pkg-plist4
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/jpeg2ps-letter/Makefile b/graphics/jpeg2ps-letter/Makefile
index a517d803ccf6..070aea9563f5 100644
--- a/graphics/jpeg2ps-letter/Makefile
+++ b/graphics/jpeg2ps-letter/Makefile
@@ -27,8 +27,8 @@ post-patch:
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/jpeg2ps ${PREFIX}/bin
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/jpeg2ps
- ${INSTALL_DATA} ${WRKSRC}/jpeg2ps.txt ${PREFIX}/share/doc/jpeg2ps
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/jpeg2ps.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/graphics/jpeg2ps-letter/pkg-plist b/graphics/jpeg2ps-letter/pkg-plist
index d07edb74d5f0..6b5031197cb9 100644
--- a/graphics/jpeg2ps-letter/pkg-plist
+++ b/graphics/jpeg2ps-letter/pkg-plist
@@ -1,3 +1,3 @@
bin/jpeg2ps
-share/doc/jpeg2ps/jpeg2ps.txt
-@dirrm share/doc/jpeg2ps
+%%PORTDOCS%%share/doc/jpeg2ps/jpeg2ps.txt
+%%PORTDOCS%%@dirrm share/doc/jpeg2ps