2010-01-27 16:14:00 +01:00
|
|
|
# $NetBSD: Makefile,v 1.18 2010/01/27 15:14:00 joerg Exp $
|
2002-08-06 16:04:34 +02:00
|
|
|
#
|
|
|
|
|
2004-07-28 13:55:08 +02:00
|
|
|
DISTNAME= xpdf-chinese-traditional-2004-jul-27
|
|
|
|
PKGNAME= xpdf-chinese-traditional-20040727
|
2010-01-27 16:14:00 +01:00
|
|
|
PKGREVISION= 2
|
2002-08-06 16:04:34 +02:00
|
|
|
CATEGORIES= print
|
2004-07-28 13:55:08 +02:00
|
|
|
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
|
|
|
|
http://gd.tuwien.ac.at/publishing/xpdf/
|
2002-08-06 16:04:34 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2002-08-06 16:04:34 +02:00
|
|
|
HOMEPAGE= http://www.foolabs.com/xpdf/
|
2003-07-21 19:10:16 +02:00
|
|
|
COMMENT= Xpdf support files for Chinese (Traditional)
|
2002-08-06 16:04:34 +02:00
|
|
|
|
2010-01-27 16:14:00 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2003-03-25 15:06:48 +01:00
|
|
|
DEPENDS+= xpdf>=2.02:../../print/xpdf
|
2002-08-06 16:04:34 +02:00
|
|
|
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/xpdf-chinese-traditional
|
2002-08-06 16:04:34 +02:00
|
|
|
NO_CONFIGURE= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2010-01-27 16:14:00 +01:00
|
|
|
INSTALLATION_DIRS+= share/xpdf/chinese-traditional/CMap
|
|
|
|
|
2002-08-06 16:04:34 +02:00
|
|
|
post-patch:
|
|
|
|
${MV} ${WRKSRC}/add-to-xpdfrc ${WRKSRC}/add-to-xpdfrc.orig
|
2003-03-25 15:06:48 +01:00
|
|
|
${SED} -e 's:/usr/local:'${PREFIX}':g' -e 's/Arhpic/Arphic/g' < ${WRKSRC}/add-to-xpdfrc.orig > ${WRKSRC}/add-to-xpdfrc
|
2002-08-06 16:04:34 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Adobe-CNS1.cidToUnicode \
|
2010-01-27 16:14:00 +01:00
|
|
|
${WRKSRC}/Big5.unicodeMap ${WRKSRC}/add-to-xpdfrc \
|
|
|
|
${DESTDIR}${PREFIX}/share/xpdf/chinese-traditional
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/CMap/* \
|
|
|
|
${DESTDIR}${PREFIX}/share/xpdf/chinese-traditional/CMap
|
2002-08-06 16:04:34 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|