diff options
author | jlam <jlam@pkgsrc.org> | 2002-10-23 00:07:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-10-23 00:07:07 +0000 |
commit | 246a6472e749f236098f974e4829fc099c26b33b (patch) | |
tree | f376cd0b6c188f624033f19e4dc58bacfe8c3c71 /mail/elm-me/Makefile | |
parent | 58ca4942ecf80e7d6a8d9f78a8b09bb167a88831 (diff) | |
download | pkgsrc-246a6472e749f236098f974e4829fc099c26b33b.tar.gz |
buildlink1 -> buildlink2 and use bsd.pkg.install.mk to properly handle
elm.mimetypes-dist. Also add a few files to PLIST that were installed but
not listed.
Diffstat (limited to 'mail/elm-me/Makefile')
-rw-r--r-- | mail/elm-me/Makefile | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/mail/elm-me/Makefile b/mail/elm-me/Makefile index bd7e60270ae..91c55f0f0eb 100644 --- a/mail/elm-me/Makefile +++ b/mail/elm-me/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2002/08/13 22:10:21 kim Exp $ +# $NetBSD: Makefile,v 1.6 2002/10/23 00:07:07 jlam Exp $ # FreeBSD: Makefile,v 1.42 1997/12/24 01:21:07 alex Exp # @@ -15,13 +15,17 @@ COMMENT= ELM Mail User Agent with ME extensions CONFLICTS= elm-[0-9]* -USE_BUILDLINK_ONLY= YES +USE_BUILDLINK2= YES HAS_CONFIGURE= YES CONFIGURE_SCRIPT= ksh ./Configure CONFIGURE_ENV= PREFIX="${PREFIX}" RUN_AS_BATCH=yes CONFIGURE_ARGS= -S WRKSRC= ${WRKDIR}/elm2.4.ME+.93 +INSTALL_DIRS= ${WRKSRC} ${WRKSRC}/nls + +SUPPORT_FILES= ${PREFIX}/lib/elm.mimetypes-dist \ + ${PREFIX}/lib/elm.mimetypes pre-configure: ${CP} ${FILESDIR}/config.sh ${WRKSRC}/ @@ -29,18 +33,13 @@ pre-configure: ${SED} -e 's:__PREFIX:'${PREFIX}':g'< ${WRKSRC}/nls/LANGS.tmpl > ${WRKSRC}/nls/LANGS post-install: - cd ${WRKSRC}/nls; ${MAKE} install - if [ -f ${PREFIX}/lib/elm.mimetypes ] ; then \ - ${INSTALL_DATA} \ - ${FILESDIR}/elm.mimetypes ${PREFIX}/lib/elm.mimetypes-dist; \ - else \ - ${INSTALL_DATA} \ - ${FILESDIR}/elm.mimetypes ${PREFIX}/lib; \ - fi + ${INSTALL_DATA} ${FILESDIR}/elm.mimetypes \ + ${PREFIX}/lib/elm.mimetypes-dist post-configure: ${TOUCH} ${WRKSRC}/config.sh ${TOUCH} ${WRKSRC}/config.h -.include "../../devel/gettext-lib/buildlink.mk" +.include "../../devel/gettext-lib/buildlink2.mk" +.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" |