diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 15:14:00 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 15:14:00 +0000 |
commit | 45cf4a149596a4d56cbd552993b5a953a5cc642c (patch) | |
tree | 7d9e0ea49eb640f229f40eb6d2938452ee6b10af /print/xpdf-cyrillic/Makefile | |
parent | aa1832bff1f6df79c6e4781d5b3aea1f1200a3b8 (diff) | |
download | pkgsrc-45cf4a149596a4d56cbd552993b5a953a5cc642c.tar.gz |
Defer modification of xpdfrc to real package install time. Bump
revisions. Add DESTDIR support.
Diffstat (limited to 'print/xpdf-cyrillic/Makefile')
-rw-r--r-- | print/xpdf-cyrillic/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/print/xpdf-cyrillic/Makefile b/print/xpdf-cyrillic/Makefile index 3497dc5a688..cc041e96496 100644 --- a/print/xpdf-cyrillic/Makefile +++ b/print/xpdf-cyrillic/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.17 2006/03/14 01:14:33 jlam Exp $ +# $NetBSD: Makefile,v 1.18 2010/01/27 15:14:00 joerg Exp $ # DISTNAME= xpdf-cyrillic-2003-jun-28 PKGNAME= xpdf-cyrillic-20030628 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= print MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \ http://gd.tuwien.ac.at/publishing/xpdf/ @@ -12,25 +12,23 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.foolabs.com/xpdf/ COMMENT= Xpdf support files for Cyrillic -DEPENDS+= xpdf>=2.02:../../print/xpdf +PKG_DESTDIR_SUPPORT= user-destdir +DEPENDS+= xpdf>=2.02:../../print/xpdf WRKSRC= ${WRKDIR}/xpdf-cyrillic NO_CONFIGURE= yes NO_BUILD= yes +INSTALLATION_DIRS+= share/xpdf/cyrillic + post-patch: ${MV} ${WRKSRC}/add-to-xpdfrc ${WRKSRC}/add-to-xpdfrc.orig ${SED} -e 's:/usr/local:'${PREFIX}':g' < ${WRKSRC}/add-to-xpdfrc.orig > ${WRKSRC}/add-to-xpdfrc do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/xpdf/cyrillic ${INSTALL_DATA} ${WRKSRC}/Bulgarian.nameToUnicode \ - ${PREFIX}/share/xpdf/cyrillic - ${INSTALL_DATA} ${WRKSRC}/KOI8-R.unicodeMap \ - ${PREFIX}/share/xpdf/cyrillic - -post-install: - ${CAT} ${WRKSRC}/add-to-xpdfrc >> ${PKG_SYSCONFDIR}/xpdfrc + ${WRKSRC}/KOI8-R.unicodeMap ${WRKSRC}/add-to-xpdfrc \ + ${DESTDIR}${PREFIX}/share/xpdf/cyrillic .include "../../mk/bsd.pkg.mk" |