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/font-ipa | |
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/font-ipa')
-rw-r--r-- | japanese/font-ipa/Makefile | 6 | ||||
-rw-r--r-- | japanese/font-ipa/pkg-plist | 23 |
2 files changed, 15 insertions, 14 deletions
diff --git a/japanese/font-ipa/Makefile b/japanese/font-ipa/Makefile index 3a125fcb3634..8ca31e1a0f3d 100644 --- a/japanese/font-ipa/Makefile +++ b/japanese/font-ipa/Makefile @@ -22,7 +22,7 @@ NO_WRKSUBDIR= yes PKGINSTALL= ${WRKDIR}/pkg-install PKGDEINSTALL= ${WRKDIR}/pkg-install -LOCAL_FONTSDIR= share/fonts/TrueType +LOCAL_FONTSDIR= share/fonts X_FONTSDIR= lib/X11/fonts/TrueType GRASS_FONTSDIR= grass5/fonts @@ -39,11 +39,11 @@ pre-install: ${CHMOD} +x ${WRKDIR}/pkg-install do-install: - ${MKDIR} ${PREFIX}/${LOCAL_FONTSDIR} + ${MKDIR} ${PREFIX}/${LOCAL_FONTSDIR}/TrueType ${MKDIR} ${X11BASE}/${X_FONTSDIR} ${LN} -s -f \ ${LOCALBASE}/${GRASS_FONTSDIR}/ipa*.ttf \ - ${PREFIX}/${LOCAL_FONTSDIR}/ + ${PREFIX}/${LOCAL_FONTSDIR}/TrueType/ ${LN} -s -f \ ${LOCALBASE}/${GRASS_FONTSDIR}/ipa*.ttf \ ${X11BASE}/${X_FONTSDIR}/ diff --git a/japanese/font-ipa/pkg-plist b/japanese/font-ipa/pkg-plist index c59b506e5b15..7571cf34c224 100644 --- a/japanese/font-ipa/pkg-plist +++ b/japanese/font-ipa/pkg-plist @@ -1,21 +1,22 @@ @comment $FreeBSD$ -@exec mkdir -p %%LOCAL_FONTSDIR%% -@exec ln -s -f %%GRASS_FONTSDIR%%/ipag.ttf %%LOCAL_FONTSDIR%%/ipag.ttf -@exec ln -s -f %%GRASS_FONTSDIR%%/ipagp.ttf %%LOCAL_FONTSDIR%%/ipagp.ttf -@exec ln -s -f %%GRASS_FONTSDIR%%/ipagui.ttf %%LOCAL_FONTSDIR%%/ipagui.ttf -@exec ln -s -f %%GRASS_FONTSDIR%%/ipam.ttf %%LOCAL_FONTSDIR%%/ipam.ttf -@exec ln -s -f %%GRASS_FONTSDIR%%/ipamp.ttf %%LOCAL_FONTSDIR%%/ipamp.ttf +@exec mkdir -p %%LOCAL_FONTSDIR%%/TrueType +@exec ln -s -f %%GRASS_FONTSDIR%%/ipag.ttf %%LOCAL_FONTSDIR%%/TrueType/ipag.ttf +@exec ln -s -f %%GRASS_FONTSDIR%%/ipagp.ttf %%LOCAL_FONTSDIR%%/TrueType/ipagp.ttf +@exec ln -s -f %%GRASS_FONTSDIR%%/ipagui.ttf %%LOCAL_FONTSDIR%%/TrueType/ipagui.ttf +@exec ln -s -f %%GRASS_FONTSDIR%%/ipam.ttf %%LOCAL_FONTSDIR%%/TrueType/ipam.ttf +@exec ln -s -f %%GRASS_FONTSDIR%%/ipamp.ttf %%LOCAL_FONTSDIR%%/TrueType/ipamp.ttf @exec mkdir -p %%X_FONTSDIR%% @exec ln -s -f %%GRASS_FONTSDIR%%/ipag.ttf %%X_FONTSDIR%%/ipag.ttf @exec ln -s -f %%GRASS_FONTSDIR%%/ipagp.ttf %%X_FONTSDIR%%/ipagp.ttf @exec ln -s -f %%GRASS_FONTSDIR%%/ipagui.ttf %%X_FONTSDIR%%/ipagui.ttf @exec ln -s -f %%GRASS_FONTSDIR%%/ipam.ttf %%X_FONTSDIR%%/ipam.ttf @exec ln -s -f %%GRASS_FONTSDIR%%/ipamp.ttf %%X_FONTSDIR%%/ipamp.ttf -@unexec rm -f %%LOCAL_FONTSDIR%%/ipag.ttf -@unexec rm -f %%LOCAL_FONTSDIR%%/ipagp.ttf -@unexec rm -f %%LOCAL_FONTSDIR%%/ipagui.ttf -@unexec rm -f %%LOCAL_FONTSDIR%%/ipam.ttf -@unexec rm -f %%LOCAL_FONTSDIR%%/ipamp.ttf +@unexec rm -f %%LOCAL_FONTSDIR%%/TrueType/ipag.ttf +@unexec rm -f %%LOCAL_FONTSDIR%%/TrueType/ipagp.ttf +@unexec rm -f %%LOCAL_FONTSDIR%%/TrueType/ipagui.ttf +@unexec rm -f %%LOCAL_FONTSDIR%%/TrueType/ipam.ttf +@unexec rm -f %%LOCAL_FONTSDIR%%/TrueType/ipamp.ttf +@unexec rmdir %%LOCAL_FONTSDIR%%/TrueType 2> /dev/null || true @unexec rmdir %%LOCAL_FONTSDIR%% 2> /dev/null || true @unexec rm -f %%X_FONTSDIR%%/ipag.ttf @unexec rm -f %%X_FONTSDIR%%/ipagp.ttf |