| @@ -1,32 +1,32 @@ | | | @@ -1,32 +1,32 @@ |
1 | # $NetBSD: Makefile,v 1.4 2013/02/16 11:21:11 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.5 2013/03/16 23:02:18 dholland Exp $ |
2 | | | 2 | |
3 | DISTNAME= ghostscript-cidfonts-ryumin-${GS_VERSION} | | 3 | DISTNAME= ghostscript-cidfonts-ryumin-${GS_VERSION} |
4 | DISTFILES= # empty | | 4 | DISTFILES= # empty |
5 | PKGREVISION= 3 | | 5 | PKGREVISION= 4 |
6 | CATEGORIES= fonts | | 6 | CATEGORIES= fonts |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | COMMENT= Enable Ryumin-Light and GothicBBB for ghostscript | | 9 | COMMENT= Enable Ryumin-Light and GothicBBB for ghostscript |
10 | LICENSE= generic-nonlicense | | 10 | LICENSE= generic-nonlicense |
11 | | | 11 | |
12 | .include "../../print/ghostscript/Makefile.common" | | 12 | .include "../../print/ghostscript-gpl/Makefile.common" |
13 | | | 13 | |
14 | GS_RESOURCEDIR= share/ghostscript/${PKGVERSION}/Resource | | 14 | GS_RESOURCEDIR= share/ghostscript/${PKGVERSION}/Resource |
15 | WRKSRC= ${WRKDIR}/gcr | | 15 | WRKSRC= ${WRKDIR}/gcr |
16 | INSTALLATION_DIRS+= ${GS_RESOURCEDIR}/Font | | 16 | INSTALLATION_DIRS+= ${GS_RESOURCEDIR}/Font |
17 | INSTALLATION_DIRS+= ${GS_RESOURCEDIR}/Init | | 17 | INSTALLATION_DIRS+= ${GS_RESOURCEDIR}/Init |
18 | | | 18 | |
19 | DEPENDS+= ghostscript>=9.05:../../print/ghostscript | | 19 | DEPENDS+= ghostscript-gpl>=9.05:../../print/ghostscript-gpl |
20 | DEPENDS+= ghostscript-cidfonts>=20000901nb3:../../fonts/ghostscript-cidfonts | | 20 | DEPENDS+= ghostscript-cidfonts>=20000901nb3:../../fonts/ghostscript-cidfonts |
21 | BUILD_DEFS+= GS_CIDFMAP | | 21 | BUILD_DEFS+= GS_CIDFMAP |
22 | # used in options.mk to switch adobe or ttf | | 22 | # used in options.mk to switch adobe or ttf |
23 | SUBST_VARS= GCR_INSTALL_TYPE | | 23 | SUBST_VARS= GCR_INSTALL_TYPE |
24 | | | 24 | |
25 | .include "options.mk" | | 25 | .include "options.mk" |
26 | | | 26 | |
27 | .if !empty(GS_CIDFMAP) | | 27 | .if !empty(GS_CIDFMAP) |
28 | SUBST_CLASSES+= ttf_path | | 28 | SUBST_CLASSES+= ttf_path |
29 | SUBST_STAGE.ttf_path= post-build | | 29 | SUBST_STAGE.ttf_path= post-build |
30 | SUBST_MESSAGE.ttf_path=Fixing ttf install directory in cidfmap | | 30 | SUBST_MESSAGE.ttf_path=Fixing ttf install directory in cidfmap |
31 | SUBST_FILES.ttf_path= ${GS_CIDFMAP} | | 31 | SUBST_FILES.ttf_path= ${GS_CIDFMAP} |
32 | SUBST_SED.ttf_path= -e 's|%%PREFIX%%|${PREFIX}|' | | 32 | SUBST_SED.ttf_path= -e 's|%%PREFIX%%|${PREFIX}|' |
| @@ -44,21 +44,21 @@ do-install: | | | @@ -44,21 +44,21 @@ do-install: |
44 | ${INSTALL_DATA} ${WRKSRC}/${GS_CIDFMAP} ${DESTDIR}${PREFIX}/${GS_RESOURCEDIR}/Init/cidfmap | | 44 | ${INSTALL_DATA} ${WRKSRC}/${GS_CIDFMAP} ${DESTDIR}${PREFIX}/${GS_RESOURCEDIR}/Init/cidfmap |
45 | .endif | | 45 | .endif |
46 | # mainly Ryumin and GothicBBB | | 46 | # mainly Ryumin and GothicBBB |
47 | ${INSTALL_DATA} files/${GCR_INSTALL_TYPE}/[GR]* ${DESTDIR}${PREFIX}/${GS_RESOURCEDIR}/Font | | 47 | ${INSTALL_DATA} files/${GCR_INSTALL_TYPE}/[GR]* ${DESTDIR}${PREFIX}/${GS_RESOURCEDIR}/Font |
48 | | | 48 | |
49 | # no need to edit cidfmap | | 49 | # no need to edit cidfmap |
50 | .if empty(GS_CIDFMAP) | | 50 | .if empty(GS_CIDFMAP) |
51 | NO_BUILD= yes | | 51 | NO_BUILD= yes |
52 | .endif | | 52 | .endif |
53 | | | 53 | |
54 | NO_CHECKSUM= yes | | 54 | NO_CHECKSUM= yes |
55 | NO_CONFIGURE= yes | | 55 | NO_CONFIGURE= yes |
56 | | | 56 | |
57 | .include "../../print/ghostscript/buildlink3.mk" | | 57 | .include "../../print/ghostscript-gpl/buildlink3.mk" |
58 | | | 58 | |
59 | .if empty(PKG_BUILD_OPTIONS.ghostscript:Mdisable-compile-inits) | | 59 | .if empty(PKG_BUILD_OPTIONS.ghostscript:Mdisable-compile-inits) |
60 | PKG_FAIL_REASON+= 'You need to set PKG_OPTIONS.ghostscript+= disable-compile-inits, at its compile time.' | | 60 | PKG_FAIL_REASON+= 'You need to set PKG_OPTIONS.ghostscript+= disable-compile-inits, at its compile time.' |
61 | .endif | | 61 | .endif |
62 | | | 62 | |
63 | #.include "../../fonts/adobe-cidfonts/buildlink3.mk" | | 63 | #.include "../../fonts/adobe-cidfonts/buildlink3.mk" |
64 | .include "../../mk/bsd.pkg.mk" | | 64 | .include "../../mk/bsd.pkg.mk" |