aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2005-02-06 15:34:36 +0000
committerHiroki Sato <hrs@FreeBSD.org>2005-02-06 15:34:36 +0000
commit5a16fa3dccc5d00fbefe155639330ac0f7f279a6 (patch)
treefc62ddc6da9610502750a51cb83eea1bcbd046e3 /japanese
parenta33a957d919ba3b48f5b5d8f9a29f2866b40293c (diff)
downloadports-5a16fa3dccc5d00fbefe155639330ac0f7f279a6.tar.gz
ports-5a16fa3dccc5d00fbefe155639330ac0f7f279a6.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/dvi2dvi/Makefile2
-rw-r--r--japanese/dvi2dvi/pkg-plist15
2 files changed, 10 insertions, 7 deletions
diff --git a/japanese/dvi2dvi/Makefile b/japanese/dvi2dvi/Makefile
index 100622360739..23cab42aee95 100644
--- a/japanese/dvi2dvi/Makefile
+++ b/japanese/dvi2dvi/Makefile
@@ -46,7 +46,7 @@ post-install:
@${RM} ${WRKSRC}/lib/*.orig \
${WRKSRC}/lib/fonts/*.orig ${WRKSRC}/lib/fontsk/*.orig
@( cd ${WRKSRC} ; ${MAKE} PREFIX=${PREFIX} install-lib )
- @${MKDIR} -m 777 ${PREFIX}/share/fonts/vf-rot
+ @${MKDIR} -m 1777 ${PREFIX}/share/fonts/vf-rot
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/dvi2dvi
@${INSTALL_DATA} ${WRKSRC}/doc/*.doc ${PREFIX}/share/doc/dvi2dvi
diff --git a/japanese/dvi2dvi/pkg-plist b/japanese/dvi2dvi/pkg-plist
index 69fb8515bc9a..f634cdc937c6 100644
--- a/japanese/dvi2dvi/pkg-plist
+++ b/japanese/dvi2dvi/pkg-plist
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
bin/dvi2dvi
lib/dvi2dvi/a2n
lib/dvi2dvi/config
@@ -17,12 +18,14 @@ lib/dvi2dvi/n2w
lib/dvi2dvi/p2n
lib/dvi2dvi/p2pn
lib/dvi2dvi/w2n
-share/doc/dvi2dvi/bugs.doc
-share/doc/dvi2dvi/changes.doc
-share/doc/dvi2dvi/dvi2dvi.doc
-share/doc/dvi2dvi/install.doc
-share/doc/dvi2dvi/lib.doc
+@exec mkdir -m 1777 %D/share/fonts/vf-rot
+@unexec rmdir %D/share/fonts/vf-rot 2>/dev/null || true
+%%PORTDOCS%%%%DOCSDIR%%/bugs.doc
+%%PORTDOCS%%%%DOCSDIR%%/changes.doc
+%%PORTDOCS%%%%DOCSDIR%%/dvi2dvi.doc
+%%PORTDOCS%%%%DOCSDIR%%/install.doc
+%%PORTDOCS%%%%DOCSDIR%%/lib.doc
@dirrm lib/dvi2dvi/fonts
@dirrm lib/dvi2dvi/fontsk
@dirrm lib/dvi2dvi
-@dirrm share/doc/dvi2dvi
+%%PORTDOCS%%@dirrm %%DOCSDIR%%