diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/grepmail/Makefile | 11 | ||||
-rw-r--r-- | mail/mailagent/Makefile | 28 |
2 files changed, 16 insertions, 23 deletions
diff --git a/mail/grepmail/Makefile b/mail/grepmail/Makefile index ba1605cc33a..8e63eb37cbc 100644 --- a/mail/grepmail/Makefile +++ b/mail/grepmail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2000/01/24 14:19:56 agc Exp $ +# $NetBSD: Makefile,v 1.3 2000/08/27 02:46:04 jlam Exp $ # DISTNAME= grepmail-4.11 @@ -8,17 +8,16 @@ MASTER_SITES= http://www.cs.virginia.edu/~dwc3q/code/ MAINTAINER= david@fundy.net HOMEPAGE= http://www.cs.virginia.edu/~dwc3q/code/index.html -CONFIGURE_ENV= PERL=${PREFIX}/bin/perl - -USE_PERL5= yes +USE_PERL5= # defined +CONFIGURE_ENV= PERL=${PERL5} do-build: @cd ${WRKSRC} ; \ for i in 1 2 ; do \ - ${ECHO} "$$i" | ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL; \ + ${ECHO} "$$i" | ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL; \ ${MAKE}; \ ${RM} -f grepmail-$$i; \ - ${SED} -e '1s|.*|#! ${PREFIX}/bin/perl|' grepmail > grepmail-$$i; \ + ${SED} -e '1s|.*|#! ${PERL5}|' grepmail > grepmail-$$i; \ done do-install: diff --git a/mail/mailagent/Makefile b/mail/mailagent/Makefile index 95159ffdd4e..550893bc418 100644 --- a/mail/mailagent/Makefile +++ b/mail/mailagent/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2000/03/27 08:54:59 tron Exp $ +# $NetBSD: Makefile,v 1.4 2000/08/27 02:46:04 jlam Exp $ # FreeBSD: ports/mail/mailagent/Makefile,v 1.28 1999/08/31 06:47:24 mharo Exp # @@ -6,30 +6,23 @@ DISTNAME= mailagent-3.0@68 PKGNAME= mailagent-3.0.68 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_PERL_CPAN:S/by-module/by-authors\/id\/RAM/g} -#MASTER_SITE_SUBDIR= ../../authors/id/RAM -MAINTAINER= itojun@itojun.org +MAINTAINER= itojun@itojun.org -# be friendly with FreeBSD-ish use of ${PERL5} -PERL5= ${LOCALBASE}/bin/perl +USE_PERL5= # defined -USE_PERL5= yes -NO_PACKAGE= "Correct FQDN needs to be hardcoded" -IS_INTERACTIVE= yes -HAS_CONFIGURE= yes +NO_PACKAGE= "Correct FQDN needs to be hardcoded" +IS_INTERACTIVE= # defined + +HAS_CONFIGURE= # defined CONFIGURE_SCRIPT= ./Configure CONFIGURE_ARGS= -dres \ -Dperlpath='${PERL5}' \ -Dutmp='/var/run/utmp' \ -Dprefix='${PREFIX}' -Dmansrc='${PREFIX}/man/man1' \ -Dnotifypatches='false' -MAKE_ENV= PATH=`dirname ${PERL5}`:${PATH} -INSTALL_TARGET= install install.man - -# Note that mailhelp.1 is intentionally left uncompressed as it is referred -# from several other man pages with .so macro. -MAN1= edusers.1 mailagent.1 maildist.1 \ - maillist.1 mailpatch.1 package.1 +MAKE_ENV= PATH=`dirname ${PERL5}`:${PATH} +INSTALL_TARGET= install install.man pre-extract: @if [ `${SH} -c umask` != 0022 ]; then \ @@ -44,6 +37,7 @@ post-install: @${MKDIR} ${PREFIX}/share/examples/mailagent @${MKDIR} ${PREFIX}/share/examples/mailagent/misc ${CP} -pR ${WRKSRC}/misc/* ${PREFIX}/share/examples/mailagent/misc - @${LN} -fs ${PREFIX}/lib/mailagent/examples ${PREFIX}/share/examples/mailagent/agent + @${LN} -fs ${PREFIX}/lib/mailagent/examples \ + ${PREFIX}/share/examples/mailagent/agent .include "../../mk/bsd.pkg.mk" |