2006-03-14 02:14:26 +01:00
|
|
|
# $NetBSD: Makefile,v 1.17 2006/03/14 01:14:32 jlam 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
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
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
|
|
|
|
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
|
|
|
|
|
|
|
|
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:
|
2003-03-25 15:06:48 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/xpdf/chinese-traditional
|
2002-08-06 16:04:34 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/Adobe-CNS1.cidToUnicode \
|
2003-03-25 15:06:48 +01:00
|
|
|
${PREFIX}/share/xpdf/chinese-traditional
|
2002-08-06 16:04:34 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/Big5.unicodeMap \
|
2003-03-25 15:06:48 +01:00
|
|
|
${PREFIX}/share/xpdf/chinese-traditional
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/xpdf/chinese-traditional/CMap
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/CMap/* ${PREFIX}/share/xpdf/chinese-traditional/CMap
|
2002-08-06 16:04:34 +02:00
|
|
|
|
|
|
|
post-install:
|
2002-09-19 21:21:38 +02:00
|
|
|
${CAT} ${WRKSRC}/add-to-xpdfrc >> ${PKG_SYSCONFDIR}/xpdfrc
|
2002-08-06 16:04:34 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|