summaryrefslogtreecommitdiff
path: root/print/xpdf-thai/Makefile
diff options
context:
space:
mode:
authorsalo <salo>2003-03-25 14:06:48 +0000
committersalo <salo>2003-03-25 14:06:48 +0000
commitb50aaa487e12eecbef2ff14004d3e829ea571e4b (patch)
tree3125084151c8c91095d4c3c396280430091bc1af /print/xpdf-thai/Makefile
parente9d7066b86f604e21e3b3339473f18f6e9720575 (diff)
downloadpkgsrc-b50aaa487e12eecbef2ff14004d3e829ea571e4b.tar.gz
Sync with updated xpdf-2.02 package.
- install into PREFIX, not X11PREFIX - DEPENDS on xpdf>=2.02 due to USE_X11BASE->USE_X11 change - fix DEINSTALL files to really remove chunks added to xpdfrc, correctly define PKG_SYSCONFDIR, don't use direct commands (sed->@SED@, mv->@MV@, rm->@RM@) - define USE_PKGINSTALL to correctly replace variables in DEINSTALL files - consistently use DIST_SUBDIR - don't define completely bogus version numbers, use dates from the MASTER_SITE and xpdfrc chunks - remove PREFIX/share/xpdf from PLISTs, this directory is now part of the xpdf package - remove superfluous license/copyright note from DESCR files - bump PKGREVISION where necessary
Diffstat (limited to 'print/xpdf-thai/Makefile')
-rw-r--r--print/xpdf-thai/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/print/xpdf-thai/Makefile b/print/xpdf-thai/Makefile
index ebd668a9c2f..c319ed3d173 100644
--- a/print/xpdf-thai/Makefile
+++ b/print/xpdf-thai/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2002/09/19 19:21:40 kei Exp $
+# $NetBSD: Makefile,v 1.4 2003/03/25 14:07:01 salo Exp $
#
DISTNAME= xpdf-thai
-PKGNAME= ${DISTNAME}-20020521
+PKGNAME= ${DISTNAME}-20020116
CATEGORIES= print
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/
@@ -10,25 +10,26 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.foolabs.com/xpdf/
COMMENT= xpdf support files for Thai
-DEPENDS+= xpdf>=1.00:../../print/xpdf
+DEPENDS+= xpdf>=2.02:../../print/xpdf
-USE_X11BASE= yes
+USE_X11= yes
+USE_PKGINSTALL= yes
-DIST_SUBDIR= ${PKGNAME}
+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/thai
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/xpdf/thai
${INSTALL_DATA} ${WRKSRC}/TIS-620.unicodeMap \
- ${X11PREFIX}/share/xpdf/thai
+ ${PREFIX}/share/xpdf/thai
${INSTALL_DATA} ${WRKSRC}/Thai.nameToUnicode \
- ${X11PREFIX}/share/xpdf/thai
+ ${PREFIX}/share/xpdf/thai
post-install:
${CAT} ${WRKSRC}/add-to-xpdfrc >> ${PKG_SYSCONFDIR}/xpdfrc