diff options
author | miwi <miwi@FreeBSD.org> | 2008-03-30 09:21:49 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-03-30 09:21:49 +0800 |
commit | ea4b784b3da8dfc0826de86649a2444314fb112c (patch) | |
tree | 02e4f9d98b3a7ed89bef3eb0b5a738dd1951ccf0 /japanese/font-shinonome/Makefile | |
parent | 2d91490b6e40b5ec885e0530d440abb055be031c (diff) | |
download | freebsd-ports-gnome-ea4b784b3da8dfc0826de86649a2444314fb112c.tar.gz freebsd-ports-gnome-ea4b784b3da8dfc0826de86649a2444314fb112c.tar.zst freebsd-ports-gnome-ea4b784b3da8dfc0826de86649a2444314fb112c.zip |
- Update to 0.9.11p1
PR: 122075
Submitted by: Ports Fury
Diffstat (limited to 'japanese/font-shinonome/Makefile')
-rw-r--r-- | japanese/font-shinonome/Makefile | 40 |
1 files changed, 19 insertions, 21 deletions
diff --git a/japanese/font-shinonome/Makefile b/japanese/font-shinonome/Makefile index a35364b6ebaf..d98501babfd5 100644 --- a/japanese/font-shinonome/Makefile +++ b/japanese/font-shinonome/Makefile @@ -6,28 +6,28 @@ # PORTNAME= shinonome -PORTVERSION= 0.9.11 -PORTREVISION= 1 +PORTVERSION= 0.9.11p1 CATEGORIES= japanese x11-fonts -MASTER_SITES= http://openlab.ring.gr.jp/efont/dist/shinonome/%SUBDIR%/ +MASTER_SITES= http://openlab.jp/efont/dist/shinonome/%SUBDIR%/ MASTER_SITE_SUBDIR= . old MAINTAINER= ports@FreeBSD.org COMMENT= Japanese 12,14,16 dot fonts -BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT} -RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT} +BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf +RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/p.*$//} USE_BZIP2= yes -HAS_CONFIGURE= yes -USE_GMAKE= yes -USE_X_PREFIX= yes -FONTSDIR= lib/X11/fonts/local -DOCSDIR= share/doc/shinonome -CONFIGURE_ARGS= --with-fontdir=${PREFIX}/${FONTSDIR} --enable-compress + +PLIST_SUB= FONTSDIR="${FONTSDIR_REL}" .include <bsd.port.pre.mk> +FONTSDIR= ${PREFIX}/lib/X11/fonts/local +FONTSDIR_REL= ${FONTSDIR:S,^${PREFIX}/,,} + FONTNAMES=\ shnm6x12a shnm6x12ab shnm6x12ai shnm6x12abi \ shnm6x12r shnm6x12rb shnm6x12ri shnm6x12rbi \ @@ -48,32 +48,30 @@ FONTNAMES=\ DOCS= AUTHORS BUGS ChangeLog ChangeLog.0 DESIGN.12 DESIGN.14 \ DESIGN.16 DESIGN.18 INSTALL README THANKS TODO LICENSE -PLIST_SUB+= FONTSDIR=${FONTSDIR} DOCSDIR=${DOCSDIR} - -post-build: +do-build: @${ECHO_CMD} -n 'Compressing PCF fonts' .for i in ${FONTNAMES} @${ECHO_CMD} -n '.' - @cd ${WRKSRC}; ${GZIP_CMD} ${i}.pcf + @cd ${WRKSRC}; bdftopcf bdf/${i}.bdf | ${GZIP_CMD} > ${i}.pcf.gz .endfor @${ECHO_CMD} 'Done' pre-su-install: - @${MKDIR} ${PREFIX}/${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/fonts.alias ${PREFIX}/${DOCSDIR} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/fonts.alias ${DOCSDIR} @${SETENV} PKG_PREFIX=${PREFIX} \ ${SH} ${PKGREQ} ${PKGNAME} INSTALL do-install: # Do not use original install target since it forces to delete fonts.alias .for i in ${FONTNAMES} - ${INSTALL_DATA} ${WRKSRC}/${i}.pcf.gz ${PREFIX}/${FONTSDIR} + ${INSTALL_DATA} ${WRKSRC}/${i}.pcf.gz ${FONTSDIR} .endfor - @mkfontdir ${PREFIX}/${FONTSDIR} - @${CAT} ${PREFIX}/${DOCSDIR}/fonts.alias >> ${PREFIX}/${FONTSDIR}/fonts.alias + @mkfontdir ${FONTSDIR} + @${CAT} ${DOCSDIR}/fonts.alias >> ${FONTSDIR}/fonts.alias .if !defined(NOPORTDOCS) .for i in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor .endif |