aboutsummaryrefslogtreecommitdiffstats
path: root/print/ghostscript7-commfont/Makefile
blob: 92d464c4d0758809b992ca38ffcb887930402244 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Created by: Tomokatsu SAITO <saito@a2z.co.jp>
# $FreeBSD$

PORTNAME=   ghostscript
PORTVERSION=    7.07
PORTREVISION=   13
CATEGORIES= print
MASTER_SITES=   # empty
PKGNAMESUFFIX=  7-commfont
DISTFILES=  # empty

MAINTAINER= hrs@FreeBSD.org
COMMENT=    Common files for Ghostscript 7.x CJK font support

BUILD_DEPENDS=  ${CMAPDIR}/ac15/cid2code.txt:${PORTSDIR}/print/adobe-cmaps
RUN_DEPENDS=    ${CMAPDIR}/ac15/cid2code.txt:${PORTSDIR}/print/adobe-cmaps

NO_WRKSUBDIR=   yes
SUB_FILES=  pkg-message \
        Makefile template.cidfont template.ttcidfont template.font
SUB_LIST=   PORTVERSION="${PORTVERSION}" GS_RESDIR="${GS_RESDIR}"
PLIST_SUB=  GS_RESDIR="${GS_RESDIR}"
PKGMESSAGE= ${WRKDIR}/pkg-message
DEPENDS_ARGS+=  -DA4
# set these forcibly
USES=       ghostscript:7,run

CONFLICTS_INSTALL= \
        ghostscript8-[0-9]* \
        ghostscript8-nox11-[0-9]* \
        ghostscript9-[0-9]* \
        ghostscript9-nox11-[0-9]* \
        ghostscript9-agpl-[0-9]* \
        ghostscript9-agpl-nox11-[0-9]*

CMAPDIR?=   ${LOCALBASE}/share/fonts/adobe-cmaps
GS_RESDIR?= share/ghostscript/Resource

post-extract:   apply-slist

.include <bsd.port.mk>