diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /devel/gettext | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'devel/gettext')
-rw-r--r-- | devel/gettext/Makefile | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/devel/gettext/Makefile b/devel/gettext/Makefile index e350a60f5e8..23c8568d690 100644 --- a/devel/gettext/Makefile +++ b/devel/gettext/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.75 2007/11/28 18:25:49 joerg Exp $ +# $NetBSD: Makefile,v 1.76 2008/06/20 01:09:12 joerg Exp $ DISTNAME= gettext-0.14.6 PKGREVISION= 1 @@ -9,6 +9,8 @@ MAINTAINER= joerg@NetBSD.org HOMEPAGE= http://www.gnu.org/software/gettext/gettext.html COMMENT= Tools for providing messages in different languages +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= gettext-m4-0.14.6{,nb[0-9]*}:../../devel/gettext-m4 DEPENDS+= gettext-tools-0.14.6{,nb[0-9]*}:../../devel/gettext-tools BUILDLINK_API_DEPENDS.gettext+= gettext-lib>=0.14.5 @@ -31,16 +33,16 @@ BROKEN_GETTEXT_DETECTION= yes USE_BUILTIN.gettext= no # force use of pkgsrc gettext-lib do-install: - cd ${WRKSRC}/gettext-tools && ${MAKE} install-gettextsrcSCRIPTS - cd ${WRKSRC}/gettext-tools/lib && ${MAKE} install-gettextsrcDATA - cd ${WRKSRC}/gettext-tools/projects && ${MAKE} install - cd ${WRKSRC}/gettext-tools/misc && ${MAKE} install - cd ${WRKSRC}/gettext-tools/src && ${MAKE} install-tcl install-exec-local - cd ${WRKSRC}/gettext-runtime && ${MAKE} install-gettextsrcDATA - cd ${WRKSRC}/gettext-tools/intl && ${MAKE} install-exec install-data - cd ${WRKSRC}/gettext-tools/po && ${MAKE} installdirs-data install-data - ${INSTALL_MAN} ${WRKSRC}/gettext-tools/man/autopoint.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_MAN} ${WRKSRC}/gettext-tools/man/gettextize.1 ${PREFIX}/${PKGMANDIR}/man1 + cd ${WRKSRC}/gettext-tools && ${MAKE} install-gettextsrcSCRIPTS DESTDIR=${DESTDIR} + cd ${WRKSRC}/gettext-tools/lib && ${MAKE} install-gettextsrcDATA DESTDIR=${DESTDIR} + cd ${WRKSRC}/gettext-tools/projects && ${MAKE} install DESTDIR=${DESTDIR} + cd ${WRKSRC}/gettext-tools/misc && ${MAKE} install DESTDIR=${DESTDIR} + cd ${WRKSRC}/gettext-tools/src && ${MAKE} install-tcl install-exec-local DESTDIR=${DESTDIR} + cd ${WRKSRC}/gettext-runtime && ${MAKE} install-gettextsrcDATA DESTDIR=${DESTDIR} + cd ${WRKSRC}/gettext-tools/intl && ${MAKE} install-exec install-data DESTDIR=${DESTDIR} + cd ${WRKSRC}/gettext-tools/po && ${MAKE} installdirs-data install-data DESTDIR=${DESTDIR} + ${INSTALL_MAN} ${WRKSRC}/gettext-tools/man/autopoint.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/gettext-tools/man/gettextize.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/gettext-asprintf/buildlink3.mk" |