diff options
Diffstat (limited to 'textproc/ispell-british/Makefile')
-rw-r--r-- | textproc/ispell-british/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/textproc/ispell-british/Makefile b/textproc/ispell-british/Makefile index 491506d62da..be75428db86 100644 --- a/textproc/ispell-british/Makefile +++ b/textproc/ispell-british/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/03/04 21:30:47 jlam Exp $ +# $NetBSD: Makefile,v 1.16 2009/02/17 14:43:05 abs Exp $ # DISTNAME= ispell-3.3.02 @@ -18,6 +18,9 @@ DICT_LANG= british MAKE_FLAGS+= TMPDIR=${WRKDIR:Q} +INSTALLATION_DIRS= lib +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "SunOS" WORDS= /usr/dict/words @@ -25,8 +28,6 @@ WORDS= /usr/dict/words WORDS= /usr/share/dict/words .endif -INSTALLATION_DIRS= lib - do-configure: cd ${WRKSRC}; \ ${SED} -e 's|/usr/local|${PREFIX}|g' <local.h.bsd >local.h; \ @@ -36,8 +37,8 @@ do-configure: ${ECHO} '#define WORDS "${WORDS}"' >> local.h do-install: - ${CP} ${WRKSRC}/languages/${DICT_LANG}/${DICT_LANG}xlg.hash ${PREFIX}/lib - cd ${PREFIX}/lib; \ + ${CP} ${WRKSRC}/languages/${DICT_LANG}/${DICT_LANG}xlg.hash ${DESTDIR}${PREFIX}/lib + cd ${DESTDIR}${PREFIX}/lib; \ ${RM} -f ${DICT_LANG}.hash; \ ${LN} ${DICT_LANG}xlg.hash ${DICT_LANG}.hash |