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/Makefile | |
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/Makefile')
-rw-r--r-- | chinese/ttfm/Makefile | 19 |
1 files changed, 10 insertions, 9 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} |