diff options
author | Yoshio MITA <mita@FreeBSD.org> | 2002-05-24 23:25:52 +0000 |
---|---|---|
committer | Yoshio MITA <mita@FreeBSD.org> | 2002-05-24 23:25:52 +0000 |
commit | af31751f9a5d9016964f44e28a3b1f34d834bf19 (patch) | |
tree | 7105521d483387bfc6770b72d5eaaf3eab79a881 /japanese/ptex-pkfonts300/Makefile | |
parent | Enable use of dd(1) for ripping the tracks. (diff) |
Unbreak japanese/xdvik-vflib. Real problem was in a depended port.
Thanks to help by: HIYAMA Takeshi, Yoshihiko SARUMARU, and KATO Tsuguru.
Submitted by: KATO Tsuguru
Reviewed by: ports-jp
Diffstat (limited to 'japanese/ptex-pkfonts300/Makefile')
-rw-r--r-- | japanese/ptex-pkfonts300/Makefile | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/japanese/ptex-pkfonts300/Makefile b/japanese/ptex-pkfonts300/Makefile index 73a5ff2ad163..bdf3c797d8df 100644 --- a/japanese/ptex-pkfonts300/Makefile +++ b/japanese/ptex-pkfonts300/Makefile @@ -7,6 +7,7 @@ PORTNAME= ptex-pkfonts PORTVERSION= 1.0 +PORTREVISION= 1 PKGNAMESUFFIX= ${RESOLUTION} CATEGORIES= japanese print DISTFILES= # none @@ -16,7 +17,6 @@ MAINTAINER= inagaki@tg.rim.or.jp RUN_DEPENDS= ${LOCALBASE}/lib/fonts/pk${RESOLUTION}:${PORTSDIR}/print/pkfonts${RESOLUTION} NO_BUILD= yes -PKGREQ= ${WRKDIR}/REQ # ****************** # USEPK_MODE: @@ -32,24 +32,21 @@ USEPK_MODE?= cx MAKETEX_MODE?= ${USEPK_MODE} RESOLUTION?= 300 +PLIST_SUB= RESOLUTION="${RESOLUTION}" USEPK_MODE="${USEPK_MODE}" + .BEGIN: .if defined(RESOLUTION) && \ ${RESOLUTION} != 118 && ${RESOLUTION} != 240 && \ ${RESOLUTION} != 300 && ${RESOLUTION} != 360 && \ ${RESOLUTION} != 400 && ${RESOLUTION} != 600 - @${ECHO} "Error: invalid value for RESOLUTION: \"${RESOLUTION}\"" - @${ECHO} "Possible values are: 118, 240, 300, 360, 400 and 600." + @${ECHO_MSG} "Error: invalid value for RESOLUTION: \"${RESOLUTION}\"" + @${ECHO_MSG} "Possible values are: 118, 240, 300, 360, 400 and 600." @${FALSE} .endif -do-extract: - @${MKDIR} ${WRKDIR} - @${SED} -e 's,%%RESOLUTION%%,${RESOLUTION},g' \ - -e 's,%%USEPK_MODE%%,${USEPK_MODE},g' \ - < ${FILESDIR}/REQ.tmpl > ${WRKDIR}/REQ; \ - do-install: - @${SETENV} PKG_PREFIX=${PREFIX} \ - ${SH} ${WRKDIR}/REQ ${PKGNAME} INSTALL + ${MKDIR} ${PREFIX}/share/texmf/fonts/pk/${USEPK_MODE} + ${LN} -sf ${PREFIX}/lib/fonts/pk${RESOLUTION} \ + ${PREFIX}/share/texmf/fonts/pk/${USEPK_MODE}/ .include <bsd.port.mk> |