diff options
-rw-r--r-- | mail/mush/Makefile | 33 |
1 files changed, 11 insertions, 22 deletions
diff --git a/mail/mush/Makefile b/mail/mush/Makefile index 6e71097eb14..da5e3d6c79a 100644 --- a/mail/mush/Makefile +++ b/mail/mush/Makefile @@ -1,40 +1,29 @@ -# $NetBSD: Makefile,v 1.3 2000/01/03 20:58:53 christos Exp $ +# $NetBSD: Makefile,v 1.4 2000/01/09 16:02:55 wiz Exp $ -DISTNAME= mush-7.2.6.b4.pl1 +DISTNAME= mush-7.2.5 +PKGNAME= mush-7.2.6.b4.pl1 CATEGORIES= mail -MASTER_SITES= ftp://cse.ogi.edu/pub/mush/ \ - ftp://cse.ogi.edu/pub/mush/CONTRIB/ +MASTER_SITES= ftp://cse.ogi.edu/pub/mush/ +EXTRACT_SUFX= .tar.Z -MAINTAINER= christos@netbsd.org - -EXTRACT_ONLY= mush-7.2.5.tar.Z -STD_PATCH_FILES=patch-7.2.6-alpha-1 \ +PATCH_SITES= ftp://cse.ogi.edu/pub/mush/CONTRIB/ +PATCH_DIST_ARGS= -d ${WRKDIR} -E -p1 +PATCHFILES= patch-7.2.6-alpha-1 \ patch-7.2.6-alpha-2 \ patch-7.2.6-alpha-3 \ patch-7.2.6-beta-1 \ patch-7.2.6-beta-2 \ patch-7.2.6-beta-3 \ patch-7.2.6-beta-4 -DISTFILES= ${EXTRACT_ONLY} ${STD_PATCH_FILES} + +MAINTAINER= christos@netbsd.org + DIST_SUBDIR= mush RESTRICTED= "Z-Code license" MIRROR_DISTFILE= no NO_WRKSUBDIR= yes -post-extract: - @${ECHO} "===> Applying mush-7.2.6/beta4.pl1 patches" - @(cd ${WRKDIR}; \ - for i in ${STD_PATCH_FILES}; do \ - ${PATCH} < ${_DISTDIR}/$$i; \ - done > /dev/null 2> /dev/null; \ - ${RM} -f *.orig; \ - x=*.rej; \ - if [ "$$x" != '*.rej' ]; then \ - ${ECHO} "Patching failed: $$x" 1>&2; \ - exit 1; \ - fi) - pre-configure: ${SED} -e 's:__PREFIX:'${PREFIX}':g'< ${WRKSRC}/config.h-dist > ${WRKSRC}/config.h ${SED} -e 's:__PREFIX:'${PREFIX}':g'< ${WRKSRC}/makefile.${LOWER_OPSYS} > ${WRKSRC}/Makefile |