From 5a16fa3dccc5d00fbefe155639330ac0f7f279a6 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Sun, 6 Feb 2005 15:34:36 +0000 Subject: Fix pkg-plist and some style changes. Noticed by: kris --- japanese/dvi2dvi/Makefile | 2 +- japanese/dvi2dvi/pkg-plist | 15 +++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) (limited to 'japanese') 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%% -- cgit v1.2.3