1999-06-17 09:35:58 +00:00
|
|
|
# New ports collection makefile for: acroread-commfont
|
1999-08-12 01:03:24 +00:00
|
|
|
# Version required: 1999.7.20
|
1999-06-17 09:35:58 +00:00
|
|
|
# Date created: 99/06/16
|
|
|
|
# Whom: Satoshi TAOKA <taoka@FreeBSD.org>
|
|
|
|
#
|
1999-08-12 01:03:24 +00:00
|
|
|
# $Id: Makefile,v 1.2 1999/07/09 13:17:16 foxfair Exp $
|
1999-06-17 09:35:58 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME?= commfont # dummy
|
1999-08-12 01:03:24 +00:00
|
|
|
PKGNAME= ${PKG_PRE}acroread-${DISTNAME}-1999.7.20
|
1999-06-17 09:35:58 +00:00
|
|
|
CATEGORIES?= japanese print
|
1999-08-12 01:03:24 +00:00
|
|
|
MASTER_SITES= ftp://ftp-pac.adobe.com/pub/adobe/acrobatreader/unix/4.x/
|
1999-06-17 09:35:58 +00:00
|
|
|
|
|
|
|
MAINTAINER= taoka@FreeBSD.ORG
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${DISTNAME} == "commfont"
|
|
|
|
###### For this port #############################
|
|
|
|
.if exists(${DISTDIR}/jpnfont.tar.gz)
|
|
|
|
DISTFILES= jpnfont.tar.gz
|
|
|
|
WRKSRC= ${WRKDIR}/JPNKIT
|
|
|
|
.elif exists(${DISTDIR}/chsfont.tar.gz)
|
|
|
|
DISTFILES= chsfont.tar.gz
|
|
|
|
WRKSRC= ${WRKDIR}/CHSKIT
|
|
|
|
.elif exists(${DISTDIR}/chtfont.tar.gz)
|
1999-07-09 13:17:16 +00:00
|
|
|
DISTFILES= chtfont.tar.gz
|
1999-06-17 09:35:58 +00:00
|
|
|
WRKSRC= ${WRKDIR}/CHTKIT
|
|
|
|
.elif exists(${DISTDIR}/korfont.tar.gz)
|
|
|
|
DISTFILES= korfont.tar.gz
|
|
|
|
WRKSRC= ${WRKDIR}/KORKIT
|
|
|
|
.else
|
1999-08-12 01:03:24 +00:00
|
|
|
DISTFILES= korfont.tar.gz
|
|
|
|
WRKSRC= ${WRKDIR}/KORKIT
|
1999-06-17 09:35:58 +00:00
|
|
|
.endif
|
1999-08-12 01:03:24 +00:00
|
|
|
#NO_CHECKSUM= yes
|
1999-06-17 09:35:58 +00:00
|
|
|
TAR_FILE= ${WRKSRC}/LANGCOM.TAR
|
|
|
|
RUN_DEPENDS= acroread4:${PORTSDIR}/print/acroread4
|
|
|
|
.else
|
|
|
|
###### For slave ports ##############################
|
|
|
|
## Use a local directory of the slave port!!
|
|
|
|
COMMENT= ${.CURDIR}/pkg/COMMENT
|
|
|
|
DESCR= ${.CURDIR}/pkg/DESCR
|
|
|
|
PLIST= ${.CURDIR}/pkg/PLIST
|
|
|
|
FILESDIR= ${.CURDIR}/files
|
|
|
|
##
|
|
|
|
RUN_DEPENDS= ${PREFIX}/Acrobat4/Resource/CMap/H:${PORTSDIR}/print/acroread-commfont
|
|
|
|
#
|
|
|
|
.if ${DISTNAME} == "jpnfont"
|
1999-08-12 01:03:24 +00:00
|
|
|
RESTRICTED= "Be required to register with Adobe before downloading the Japanese font pack."
|
|
|
|
IS_INTERACTIVE= "You should manual-fetch Japanese pack of \"Asian Font Packs\" from http://www.adobe.com/prodindex/acrobat/readstep.html"
|
|
|
|
.if !exists(${DISTDIR}/jpnfont.tar.gz)
|
|
|
|
IGNORE= ": ${RESTRICTED} ${IS_INTERACTIVE}"
|
|
|
|
.endif
|
1999-06-17 09:35:58 +00:00
|
|
|
WRKSRC= ${WRKDIR}/JPNKIT
|
|
|
|
PKG_PRE= ja-
|
|
|
|
TAR_FILE= ${WRKSRC}/LANGJPN.TAR
|
|
|
|
.elif ${DISTNAME} == "chsfont"
|
|
|
|
WRKSRC= ${WRKDIR}/CHSKIT
|
|
|
|
PKG_PRE= zh-
|
|
|
|
TAR_FILE= ${WRKSRC}/LANGCHS.TAR
|
|
|
|
.elif ${DISTNAME} == "chtfont"
|
|
|
|
WRKSRC= ${WRKDIR}/CHTKIT
|
|
|
|
PKG_PRE= zh-
|
|
|
|
TAR_FILE= ${WRKSRC}/LANGCHT.TAR
|
|
|
|
.elif ${DISTNAME} == "korfont"
|
|
|
|
WRKSRC= ${WRKDIR}/KORKIT
|
|
|
|
PKG_PRE= ko-
|
|
|
|
TAR_FILE= ${WRKSRC}/LANGKOR.TAR
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/Acrobat4/Resource
|
|
|
|
@${TAR} xf ${TAR_FILE} -C ${PREFIX}/Acrobat4/Resource
|
|
|
|
|
|
|
|
post-install:
|
1999-08-12 01:03:24 +00:00
|
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
1999-06-17 09:35:58 +00:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|