2010-09-06 14:18:19 +02:00
|
|
|
# $NetBSD: Makefile,v 1.5 2010/09/06 12:19:45 taca Exp $
|
2008-01-06 13:00:29 +01:00
|
|
|
|
Update im to 150.
While here, set LICENSE=modified-bsd and add user-destdir support.
150 (2010/02/15)
* IM/Pop.pm: Move exec_getsbrfile() from pop_repr() to pop_inc() to work
GetSbr correctly. (Thanks to Jacques Garrigue)
* imput.in: Add msgid, nomsgid, nomime, noverbose, version and help to
@CmpConfig, and Doc fix. (Thanks to HAT)
* IM/EncDec.pm (mime_encode_string): Fix that iso-2022-jp strings are garbled
to iso-8859-1.
* IM/EncDec.pm (mime_decode): Use local variables $bq and $str instead of
numbered variables. (Thanks to Kiyoshi OHGISHI)
* IM/Config.pm.in: Set NamazuV2=yes as the default value.
* IM/Config.pm.in: New subroutine mknmz_options.
* immknmz.in: Use mknmz_options.
* imsetup.in, cnf.im/SiteConfig.in, dot.im/Config: Add comment for
MknmzOptions.
* IM/Scan.pm, imput.in: Typo fix.
* configure: Update using Debian autoconf 2.65-3.
* config.guess, config.sub: Update using Debian autotools-dev 20090611.1.
2010-02-19 12:53:43 +01:00
|
|
|
DISTNAME= im-150
|
2010-09-06 14:18:19 +02:00
|
|
|
PKGREVISION= 2
|
2008-01-06 13:00:29 +01:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= http://tats.haun.org/im/
|
|
|
|
|
|
|
|
MAINTAINER= obache@NetBSD.org
|
|
|
|
HOMEPAGE= http://tats.haun.org/im/
|
|
|
|
COMMENT= E-Mail and NetNews user interface commands
|
Update im to 150.
While here, set LICENSE=modified-bsd and add user-destdir support.
150 (2010/02/15)
* IM/Pop.pm: Move exec_getsbrfile() from pop_repr() to pop_inc() to work
GetSbr correctly. (Thanks to Jacques Garrigue)
* imput.in: Add msgid, nomsgid, nomime, noverbose, version and help to
@CmpConfig, and Doc fix. (Thanks to HAT)
* IM/EncDec.pm (mime_encode_string): Fix that iso-2022-jp strings are garbled
to iso-8859-1.
* IM/EncDec.pm (mime_decode): Use local variables $bq and $str instead of
numbered variables. (Thanks to Kiyoshi OHGISHI)
* IM/Config.pm.in: Set NamazuV2=yes as the default value.
* IM/Config.pm.in: New subroutine mknmz_options.
* immknmz.in: Use mknmz_options.
* imsetup.in, cnf.im/SiteConfig.in, dot.im/Config: Add comment for
MknmzOptions.
* IM/Scan.pm, imput.in: Typo fix.
* configure: Update using Debian autoconf 2.65-3.
* config.guess, config.sub: Update using Debian autotools-dev 20090611.1.
2010-02-19 12:53:43 +01:00
|
|
|
LICENSE= modified-bsd
|
|
|
|
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2008-01-06 13:00:29 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_TOOLS+= perl:run
|
|
|
|
|
Update im to 150.
While here, set LICENSE=modified-bsd and add user-destdir support.
150 (2010/02/15)
* IM/Pop.pm: Move exec_getsbrfile() from pop_repr() to pop_inc() to work
GetSbr correctly. (Thanks to Jacques Garrigue)
* imput.in: Add msgid, nomsgid, nomime, noverbose, version and help to
@CmpConfig, and Doc fix. (Thanks to HAT)
* IM/EncDec.pm (mime_encode_string): Fix that iso-2022-jp strings are garbled
to iso-8859-1.
* IM/EncDec.pm (mime_decode): Use local variables $bq and $str instead of
numbered variables. (Thanks to Kiyoshi OHGISHI)
* IM/Config.pm.in: Set NamazuV2=yes as the default value.
* IM/Config.pm.in: New subroutine mknmz_options.
* immknmz.in: Use mknmz_options.
* imsetup.in, cnf.im/SiteConfig.in, dot.im/Config: Add comment for
MknmzOptions.
* IM/Scan.pm, imput.in: Typo fix.
* configure: Update using Debian autoconf 2.65-3.
* config.guess, config.sub: Update using Debian autotools-dev 20090611.1.
2010-02-19 12:53:43 +01:00
|
|
|
CONFIGURE_ARGS+= --libdir=${PKG_SYSCONFBASEDIR}
|
2008-01-06 13:00:29 +01:00
|
|
|
CONFIGURE_ARGS+= --with-perldir=${PREFIX}/${PERL5_SUB_INSTALLVENDORLIB}
|
|
|
|
CONFIGURE_ENV+= im_path_perl=${PERL5:Q}
|
|
|
|
|
Update im to 150.
While here, set LICENSE=modified-bsd and add user-destdir support.
150 (2010/02/15)
* IM/Pop.pm: Move exec_getsbrfile() from pop_repr() to pop_inc() to work
GetSbr correctly. (Thanks to Jacques Garrigue)
* imput.in: Add msgid, nomsgid, nomime, noverbose, version and help to
@CmpConfig, and Doc fix. (Thanks to HAT)
* IM/EncDec.pm (mime_encode_string): Fix that iso-2022-jp strings are garbled
to iso-8859-1.
* IM/EncDec.pm (mime_decode): Use local variables $bq and $str instead of
numbered variables. (Thanks to Kiyoshi OHGISHI)
* IM/Config.pm.in: Set NamazuV2=yes as the default value.
* IM/Config.pm.in: New subroutine mknmz_options.
* immknmz.in: Use mknmz_options.
* imsetup.in, cnf.im/SiteConfig.in, dot.im/Config: Add comment for
MknmzOptions.
* IM/Scan.pm, imput.in: Typo fix.
* configure: Update using Debian autoconf 2.65-3.
* config.guess, config.sub: Update using Debian autotools-dev 20090611.1.
2010-02-19 12:53:43 +01:00
|
|
|
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
|
|
|
|
INSTALL_MAKE_FLAGS+= perldir=${DESTDIR}${PREFIX}/${PERL5_SUB_INSTALLVENDORLIB}
|
|
|
|
|
2008-01-06 13:00:29 +01:00
|
|
|
PKG_SYSCONFSUBDIR= im
|
|
|
|
|
|
|
|
CONF_FILES= ${PREFIX}/share/examples/im/SiteConfig ${PKG_SYSCONFDIR}/SiteConfig
|
|
|
|
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/im
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/im
|
|
|
|
DOCS= 00changes 00copyright 00copyright.jis 00perl 00readme 00usage
|
|
|
|
MAN= imput
|
|
|
|
MAN_JA= imali.jis imcat.jis imcd.jis imclean.jis imget.jis \
|
|
|
|
imhist.jis imjoin.jis immv.jis impack.jis imput.jis \
|
|
|
|
imrm.jis imsetup.jis imsort.jis imstore.jis imtar.jis
|
|
|
|
|
|
|
|
INSTALLATION_DIRS+= ${DOCDIR} ${EXAMPLESDIR} ${DOCDIR}/man ${DOCDIR}/man/ja
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.for file in ${DOCS}
|
Update im to 150.
While here, set LICENSE=modified-bsd and add user-destdir support.
150 (2010/02/15)
* IM/Pop.pm: Move exec_getsbrfile() from pop_repr() to pop_inc() to work
GetSbr correctly. (Thanks to Jacques Garrigue)
* imput.in: Add msgid, nomsgid, nomime, noverbose, version and help to
@CmpConfig, and Doc fix. (Thanks to HAT)
* IM/EncDec.pm (mime_encode_string): Fix that iso-2022-jp strings are garbled
to iso-8859-1.
* IM/EncDec.pm (mime_decode): Use local variables $bq and $str instead of
numbered variables. (Thanks to Kiyoshi OHGISHI)
* IM/Config.pm.in: Set NamazuV2=yes as the default value.
* IM/Config.pm.in: New subroutine mknmz_options.
* immknmz.in: Use mknmz_options.
* imsetup.in, cnf.im/SiteConfig.in, dot.im/Config: Add comment for
MknmzOptions.
* IM/Scan.pm, imput.in: Typo fix.
* configure: Update using Debian autoconf 2.65-3.
* config.guess, config.sub: Update using Debian autotools-dev 20090611.1.
2010-02-19 12:53:43 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DESTDIR}${DOCDIR}
|
2008-01-06 13:00:29 +01:00
|
|
|
.endfor
|
|
|
|
.for file in ${MAN}
|
Update im to 150.
While here, set LICENSE=modified-bsd and add user-destdir support.
150 (2010/02/15)
* IM/Pop.pm: Move exec_getsbrfile() from pop_repr() to pop_inc() to work
GetSbr correctly. (Thanks to Jacques Garrigue)
* imput.in: Add msgid, nomsgid, nomime, noverbose, version and help to
@CmpConfig, and Doc fix. (Thanks to HAT)
* IM/EncDec.pm (mime_encode_string): Fix that iso-2022-jp strings are garbled
to iso-8859-1.
* IM/EncDec.pm (mime_decode): Use local variables $bq and $str instead of
numbered variables. (Thanks to Kiyoshi OHGISHI)
* IM/Config.pm.in: Set NamazuV2=yes as the default value.
* IM/Config.pm.in: New subroutine mknmz_options.
* immknmz.in: Use mknmz_options.
* imsetup.in, cnf.im/SiteConfig.in, dot.im/Config: Add comment for
MknmzOptions.
* IM/Scan.pm, imput.in: Typo fix.
* configure: Update using Debian autoconf 2.65-3.
* config.guess, config.sub: Update using Debian autotools-dev 20090611.1.
2010-02-19 12:53:43 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/man/${file} ${DESTDIR}${DOCDIR}/man
|
2008-01-06 13:00:29 +01:00
|
|
|
.endfor
|
|
|
|
.for file in ${MAN_JA}
|
Update im to 150.
While here, set LICENSE=modified-bsd and add user-destdir support.
150 (2010/02/15)
* IM/Pop.pm: Move exec_getsbrfile() from pop_repr() to pop_inc() to work
GetSbr correctly. (Thanks to Jacques Garrigue)
* imput.in: Add msgid, nomsgid, nomime, noverbose, version and help to
@CmpConfig, and Doc fix. (Thanks to HAT)
* IM/EncDec.pm (mime_encode_string): Fix that iso-2022-jp strings are garbled
to iso-8859-1.
* IM/EncDec.pm (mime_decode): Use local variables $bq and $str instead of
numbered variables. (Thanks to Kiyoshi OHGISHI)
* IM/Config.pm.in: Set NamazuV2=yes as the default value.
* IM/Config.pm.in: New subroutine mknmz_options.
* immknmz.in: Use mknmz_options.
* imsetup.in, cnf.im/SiteConfig.in, dot.im/Config: Add comment for
MknmzOptions.
* IM/Scan.pm, imput.in: Typo fix.
* configure: Update using Debian autoconf 2.65-3.
* config.guess, config.sub: Update using Debian autotools-dev 20090611.1.
2010-02-19 12:53:43 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/man/${file} ${DESTDIR}${DOCDIR}/man/ja
|
2008-01-06 13:00:29 +01:00
|
|
|
.endfor
|
Update im to 150.
While here, set LICENSE=modified-bsd and add user-destdir support.
150 (2010/02/15)
* IM/Pop.pm: Move exec_getsbrfile() from pop_repr() to pop_inc() to work
GetSbr correctly. (Thanks to Jacques Garrigue)
* imput.in: Add msgid, nomsgid, nomime, noverbose, version and help to
@CmpConfig, and Doc fix. (Thanks to HAT)
* IM/EncDec.pm (mime_encode_string): Fix that iso-2022-jp strings are garbled
to iso-8859-1.
* IM/EncDec.pm (mime_decode): Use local variables $bq and $str instead of
numbered variables. (Thanks to Kiyoshi OHGISHI)
* IM/Config.pm.in: Set NamazuV2=yes as the default value.
* IM/Config.pm.in: New subroutine mknmz_options.
* immknmz.in: Use mknmz_options.
* imsetup.in, cnf.im/SiteConfig.in, dot.im/Config: Add comment for
MknmzOptions.
* IM/Scan.pm, imput.in: Typo fix.
* configure: Update using Debian autoconf 2.65-3.
* config.guess, config.sub: Update using Debian autotools-dev 20090611.1.
2010-02-19 12:53:43 +01:00
|
|
|
cp -r ${WRKSRC}/dot.im/* ${DESTDIR}${EXAMPLESDIR}
|
2008-01-06 13:00:29 +01:00
|
|
|
|
|
|
|
.include "../../lang/perl5/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|