aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-11-04 00:59:07 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-11-04 00:59:07 +0000
commit0912593082b0836eebc01bee4f4dc966cfaf6911 (patch)
tree348f4f9ba3e3dde567af08f3960aef26846e4df0
parentab92e1cd9f253a4ee1e418e2d4a991c783222c7b (diff)
downloadports-0912593082b0836eebc01bee4f4dc966cfaf6911.tar.gz
ports-0912593082b0836eebc01bee4f4dc966cfaf6911.zip
Update to 0.9.5
PR: 58903 Submitted by: Statue <statue@freebsd.sinica.edu.tw>
Notes
Notes: svn path=/head/; revision=93016
-rw-r--r--chinese/ttfm/Makefile19
-rw-r--r--chinese/ttfm/distinfo2
-rw-r--r--chinese/ttfm/pkg-plist12
3 files changed, 17 insertions, 16 deletions
diff --git a/chinese/ttfm/Makefile b/chinese/ttfm/Makefile
index fbe466afcf08..54a5e0f34129 100644
--- a/chinese/ttfm/Makefile
+++ b/chinese/ttfm/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ttfm
-PORTVERSION= 0.9.4
+PORTVERSION= 0.9.5
CATEGORIES= chinese print
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/ttfm/
@@ -17,19 +17,20 @@ RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
FONTSDIR= ${PREFIX}/share/fonts/TrueType/
-MODULESDIR= ${PREFIX}/share/ttfm/
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/ttfinfo ${PREFIX}/bin
- @${INSTALL_SCRIPT} ${WRKSRC}/ttfm.sh ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/share/doc/ttfm
+ ${INSTALL_PROGRAM} ${WRKSRC}/ttfinfo ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/ttfm.sh ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
.for doc in README USAGE
- @${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/ttfm
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
- @${INSTALL_MAN} ${WRKSRC}/ttfm.sh.1 ${PREFIX}/man/man1
- @${MKDIR} ${MODULESDIR}
+.endif
+ ${INSTALL_MAN} ${WRKSRC}/ttfm.sh.1 ${PREFIX}/man/man1
+ @${MKDIR} ${DATADIR}
.for module in gscjk.ttfm xttfm.ttfm
- @${INSTALL_SCRIPT} ${WRKSRC}/modules/${module} ${MODULESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/modules/${module} ${DATADIR}
.endfor
@${MKDIR} ${FONTSDIR}
diff --git a/chinese/ttfm/distinfo b/chinese/ttfm/distinfo
index db55ef83a0e4..25979abb2338 100644
--- a/chinese/ttfm/distinfo
+++ b/chinese/ttfm/distinfo
@@ -1 +1 @@
-MD5 (ttfm-0.9.4.tar.gz) = 53c67a9d7ef5379ee7ddaec033ca5244
+MD5 (ttfm-0.9.5.tar.gz) = e68c1450b7105b18fa72df56dbe4c96b
diff --git a/chinese/ttfm/pkg-plist b/chinese/ttfm/pkg-plist
index 8a36f34a3fde..f5aae51f4f2d 100644
--- a/chinese/ttfm/pkg-plist
+++ b/chinese/ttfm/pkg-plist
@@ -1,10 +1,10 @@
bin/ttfinfo
bin/ttfm.sh
-share/doc/ttfm/README
-share/doc/ttfm/USAGE
-share/ttfm/gscjk.ttfm
-share/ttfm/xttfm.ttfm
-@dirrm share/ttfm
-@dirrm share/doc/ttfm
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/USAGE
+%%DATADIR%%/gscjk.ttfm
+%%DATADIR%%/xttfm.ttfm
+@dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@unexec rmdir %D/share/fonts/TrueType 2>/dev/null || true
@unexec rmdir %D/share/fonts 2>/dev/null || true