2006-03-14 02:14:26 +01:00
|
|
|
# $NetBSD: Makefile,v 1.19 2006/03/14 01:14:33 jlam Exp $
|
2002-08-06 16:04:34 +02:00
|
|
|
#
|
|
|
|
|
2005-10-12 13:17:22 +02:00
|
|
|
DISTNAME= xpdf-latin2-2002-oct-22
|
2005-10-28 13:29:52 +02:00
|
|
|
PKGNAME= xpdf-latin2-20021022
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 2
|
2002-08-06 16:04:34 +02:00
|
|
|
CATEGORIES= print
|
2004-07-28 13:06:43 +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 Latin-2
|
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
|
|
|
|
|
|
|
|
2005-10-12 13:17:22 +02:00
|
|
|
WRKSRC= ${WRKDIR}/xpdf-latin2
|
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' < ${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/latin2
|
2002-08-06 16:04:34 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/Latin2.unicodeMap \
|
2003-03-25 15:06:48 +01:00
|
|
|
${PREFIX}/share/xpdf/latin2
|
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"
|