diff options
author | christos <christos@pkgsrc.org> | 1998-09-04 18:33:46 +0000 |
---|---|---|
committer | christos <christos@pkgsrc.org> | 1998-09-04 18:33:46 +0000 |
commit | 9fe834e11114a623bedd3600a548ffc19928d2b2 (patch) | |
tree | 4743ccb92a8acbcb97036747c21a0f6cff0fc95e /mail/mush/Makefile | |
parent | df5744fc52d26949dccae9aefc6afa743f12ef48 (diff) | |
download | pkgsrc-9fe834e11114a623bedd3600a548ffc19928d2b2.tar.gz |
Add and enable mush
Diffstat (limited to 'mail/mush/Makefile')
-rw-r--r-- | mail/mush/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/mail/mush/Makefile b/mail/mush/Makefile new file mode 100644 index 00000000000..d4581f9b12b --- /dev/null +++ b/mail/mush/Makefile @@ -0,0 +1,41 @@ +# $NetBSD: Makefile,v 1.1 1998/09/04 18:33:46 christos Exp $ + +DISTNAME= mush-7.2.6.b4 +CATEGORIES= mail +MASTER_SITES= ftp://cse.ogi.edu/pub/mush/ \ + ftp://cse.ogi.edu/pub/mush/CONTRIB/ + +MAINTAINER= christos@netbsd.org + +EXTRACT_ONLY= mush-7.2.5.tar.Z +STD_PATCH_FILES=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} + +RESTRICTED= "Z-Code license" +MIRROR_DISTFILE= no +NO_WRKSUBDIR= yes + +post-extract: + @${ECHO} "===> Applying mush-7.2.6/beta4 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.netbsd > ${WRKSRC}/Makefile + +.include "../../mk/bsd.pkg.mk" |