summaryrefslogtreecommitdiff
path: root/print/xpdf-hebrew/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/xpdf-hebrew/Makefile')
-rw-r--r--print/xpdf-hebrew/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/print/xpdf-hebrew/Makefile b/print/xpdf-hebrew/Makefile
index 8c701400980..35bc29de09b 100644
--- a/print/xpdf-hebrew/Makefile
+++ b/print/xpdf-hebrew/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/11/08 10:08:59 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2003/03/25 14:06:55 salo Exp $
#
-DISTNAME= xpdf-hebrew-2002-oct-22
-PKGNAME= xpdf-hebrew-20021022
+DISTNAME= xpdf-hebrew
+PKGNAME= ${DISTNAME}-20030216
CATEGORIES= print
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/
@@ -10,22 +10,24 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.foolabs.com/xpdf/
COMMENT= xpdf support files for Hebrew
-DEPENDS+= xpdf>=1.00:../../print/xpdf
+DEPENDS+= xpdf>=2.02:../../print/xpdf
-USE_X11BASE= yes
+USE_X11= yes
+USE_PKGINSTALL= yes
-WRKSRC= ${WRKDIR}/xpdf-hebrew
+DIST_SUBDIR= ${PKGNAME_NOREV}
+WRKSRC= ${WRKDIR}/${DISTNAME}
NO_CONFIGURE= yes
NO_BUILD= yes
post-patch:
${MV} ${WRKSRC}/add-to-xpdfrc ${WRKSRC}/add-to-xpdfrc.orig
- ${SED} -e 's:/usr/local:'${X11PREFIX}':g' < ${WRKSRC}/add-to-xpdfrc.orig > ${WRKSRC}/add-to-xpdfrc
+ ${SED} -e 's:/usr/local:'${PREFIX}':g' < ${WRKSRC}/add-to-xpdfrc.orig > ${WRKSRC}/add-to-xpdfrc
do-install:
- ${INSTALL_DATA_DIR} ${X11PREFIX}/share/xpdf/hebrew
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/xpdf/hebrew
${INSTALL_DATA} ${WRKSRC}/ISO-8859-8.unicodeMap \
- ${X11PREFIX}/share/xpdf/hebrew
+ ${PREFIX}/share/xpdf/hebrew
post-install:
${CAT} ${WRKSRC}/add-to-xpdfrc >> ${PKG_SYSCONFDIR}/xpdfrc