diff options
author | hrs <hrs@FreeBSD.org> | 2005-03-08 03:02:40 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2005-03-08 03:02:40 +0800 |
commit | 59cfe3b4108a2f71b0f572299df94b03f840a739 (patch) | |
tree | 4975d8833788a5def2d7835bc4ecea8325d07962 /japanese/sazanami-ttf | |
parent | 60af83f76e0050ad6a6772c8a301fe6f66afc8ae (diff) | |
download | freebsd-ports-gnome-59cfe3b4108a2f71b0f572299df94b03f840a739.tar.gz freebsd-ports-gnome-59cfe3b4108a2f71b0f572299df94b03f840a739.tar.zst freebsd-ports-gnome-59cfe3b4108a2f71b0f572299df94b03f840a739.zip |
Fix pkg-plist.
Diffstat (limited to 'japanese/sazanami-ttf')
-rw-r--r-- | japanese/sazanami-ttf/Makefile | 8 | ||||
-rw-r--r-- | japanese/sazanami-ttf/pkg-plist | 11 |
2 files changed, 10 insertions, 9 deletions
diff --git a/japanese/sazanami-ttf/Makefile b/japanese/sazanami-ttf/Makefile index ac26b51baa4c..ea27738f5ccc 100644 --- a/japanese/sazanami-ttf/Makefile +++ b/japanese/sazanami-ttf/Makefile @@ -20,7 +20,7 @@ USE_BZIP2= yes NO_BUILD= yes FONTSDIR= lib/X11/fonts/TrueType -LOCALFONTSDIR= share/fonts/TrueType +LOCALFONTSDIR= share/fonts MAKE_ENV= FONTSDIR=${FONTSDIR} PLIST_SUB= FONTSDIR=${FONTSDIR} \ LOCALFONTSDIR=${LOCALBASE}/${LOCALFONTSDIR} @@ -45,13 +45,13 @@ do-install: ${FILESDIR}/fonts.dir.sazanami \ ${FILESDIR}/fonts.alias.sazanami \ ${PREFIX}/${FONTSDIR} - ${MKDIR} ${LOCALBASE}/${LOCALFONTSDIR} + ${MKDIR} ${LOCALBASE}/${LOCALFONTSDIR}/TrueType ${LN} -s -f \ ${PREFIX}/${FONTSDIR}/sazanami-gothic.ttf \ - ${LOCALBASE}/${LOCALFONTSDIR}/sazanami-gothic.ttf + ${LOCALBASE}/${LOCALFONTSDIR}/TrueType/sazanami-gothic.ttf ${LN} -s -f \ ${PREFIX}/${FONTSDIR}/sazanami-mincho.ttf \ - ${LOCALBASE}/${LOCALFONTSDIR}/sazanami-mincho.ttf + ${LOCALBASE}/${LOCALFONTSDIR}/TrueType/sazanami-mincho.ttf .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} .for F in ${DOC_FILES:Mdoc/*} diff --git a/japanese/sazanami-ttf/pkg-plist b/japanese/sazanami-ttf/pkg-plist index 1d66c758fec0..6f003acacd39 100644 --- a/japanese/sazanami-ttf/pkg-plist +++ b/japanese/sazanami-ttf/pkg-plist @@ -17,9 +17,10 @@ %%PORTDOCS%%@dirrm %%DOCSDIR%%/ayu %%PORTDOCS%%@dirrm %%DOCSDIR%%/kappa %%PORTDOCS%%@dirrm %%DOCSDIR%% -@exec mkdir -p %%LOCALFONTSDIR%% -@exec ln -s -f %D/%%FONTSDIR%%/sazanami-mincho.ttf %%LOCALFONTSDIR%%/sazanami-mincho.ttf -@exec ln -s -f %D/%%FONTSDIR%%/sazanami-gothic.ttf %%LOCALFONTSDIR%%/sazanami-gothic.ttf -@unexec rm -f %%LOCALFONTSDIR%%/sazanami-mincho.ttf -@unexec rm -f %%LOCALFONTSDIR%%/sazanami-gothic.ttf +@exec mkdir -p %%LOCALFONTSDIR%%/TrueType +@exec ln -s -f %D/%%FONTSDIR%%/sazanami-mincho.ttf %%LOCALFONTSDIR%%/TrueType/sazanami-mincho.ttf +@exec ln -s -f %D/%%FONTSDIR%%/sazanami-gothic.ttf %%LOCALFONTSDIR%%/TrueType/sazanami-gothic.ttf +@unexec rm -f %%LOCALFONTSDIR%%/TrueType/sazanami-mincho.ttf +@unexec rm -f %%LOCALFONTSDIR%%/TrueType/sazanami-gothic.ttf +@unexec rmdir %%LOCALFONTSDIR%%/TrueType 2> /dev/null || true @unexec rmdir %%LOCALFONTSDIR%% 2> /dev/null || true |