2003-08-31 00:51:11 +02:00
|
|
|
# $NetBSD: Makefile,v 1.11 2003/08/30 22:51:33 jlam Exp $
|
2002-08-06 16:04:34 +02:00
|
|
|
#
|
|
|
|
|
2003-03-25 15:06:48 +01:00
|
|
|
DISTNAME= xpdf-latin2
|
|
|
|
PKGNAME= ${DISTNAME}-20021022
|
|
|
|
PKGREVISION= 1
|
2003-03-29 13:40:00 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
2002-08-06 16:04:34 +02:00
|
|
|
CATEGORIES= print
|
|
|
|
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= tech-pkg@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
|
|
|
|
2003-03-25 15:06:48 +01:00
|
|
|
USE_PKGINSTALL= yes
|
2002-08-06 16:04:34 +02:00
|
|
|
|
2003-03-25 15:06:48 +01:00
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
2002-08-06 16:04:34 +02:00
|
|
|
NO_CONFIGURE= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2003-08-31 00:51:11 +02:00
|
|
|
DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
|
|
|
|
|
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' < ${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"
|