diff options
author | leeym <leeym@FreeBSD.org> | 2003-11-04 08:59:07 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2003-11-04 08:59:07 +0800 |
commit | 949b8b3453e71e1af0f4904eb1de78f0561d0011 (patch) | |
tree | 6759fc3e2a1d25a9f5abe4ffbaa13ae8dda3f889 /chinese/ttfm | |
parent | eb7d87c36524b8634f0c62768a0688bbd730f26a (diff) | |
download | freebsd-ports-gnome-949b8b3453e71e1af0f4904eb1de78f0561d0011.tar.gz freebsd-ports-gnome-949b8b3453e71e1af0f4904eb1de78f0561d0011.tar.zst freebsd-ports-gnome-949b8b3453e71e1af0f4904eb1de78f0561d0011.zip |
Update to 0.9.5
PR: 58903
Submitted by: Statue <statue@freebsd.sinica.edu.tw>
Diffstat (limited to 'chinese/ttfm')
-rw-r--r-- | chinese/ttfm/Makefile | 19 | ||||
-rw-r--r-- | chinese/ttfm/distinfo | 2 | ||||
-rw-r--r-- | chinese/ttfm/pkg-plist | 12 |
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 |