summaryrefslogtreecommitdiff
path: root/mail/ezmlm
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2002-07-23 08:42:35 +0000
committerschmonz <schmonz@pkgsrc.org>2002-07-23 08:42:35 +0000
commita81434d069cb7c8f53fb6ac34929da86b6f4387d (patch)
treeb9143775256d2f907b367422c6753146cdf39cd9 /mail/ezmlm
parentf0754c7182b0641523f8d1376e714c81eaf8fcf4 (diff)
downloadpkgsrc-a81434d069cb7c8f53fb6ac34929da86b6f4387d.tar.gz
Make some bits sharable with, say, an ezmlm-idx package.
Diffstat (limited to 'mail/ezmlm')
-rw-r--r--mail/ezmlm/Makefile28
-rw-r--r--mail/ezmlm/Makefile.common26
-rw-r--r--mail/ezmlm/PLIST.common (renamed from mail/ezmlm/PLIST)34
3 files changed, 50 insertions, 38 deletions
diff --git a/mail/ezmlm/Makefile b/mail/ezmlm/Makefile
index a1424ef8a2b..9c66084eb1c 100644
--- a/mail/ezmlm/Makefile
+++ b/mail/ezmlm/Makefile
@@ -1,28 +1,14 @@
-# $NetBSD: Makefile,v 1.5 2002/04/25 15:21:53 yyamano Exp $
+# $NetBSD: Makefile,v 1.6 2002/07/23 08:42:35 schmonz Exp $
#
-DISTNAME= ezmlm-0.53
-CATEGORIES= mail
-MASTER_SITES= http://cr.yp.to/software/
+.include "../../mail/ezmlm/Makefile.common"
-MAINTAINER= zuntum@netbsd.org
-HOMEPAGE= http://cr.yp.to/ezmlm.html
-COMMENT= easy-to-use, high-speed mailing list manager for qmail
+DISTNAME= ${EZMLM_VERS}
-DEPENDS+= qmail>=1.03:../../mail/qmail
+MAINTAINER= zuntum@netbsd.org
+HOMEPAGE= http://cr.yp.to/ezmlm.html
+COMMENT= easy-to-use, high-speed mailing list manager for qmail
-ALL_TARGET= it man
-INSTALL_TARGET= setup
-
-RESTRICTED= "unsure of djb's license"
-NO_BIN_ON_CDROM= ${RESTRICTED}
-NO_BIN_ON_FTP= ${RESTRICTED}
-
-post-patch:
- ${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
- ${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
- ${ECHO} ${PREFIX}/bin > ${WRKSRC}/conf-bin
- ${ECHO} ${PREFIX}/man > ${WRKSRC}/conf-man
- ${ECHO} ${QMAILDIR} > ${WRKSRC}/conf-qmail
+CONFLICTS= ezmlm-idx-[0-9]*
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/ezmlm/Makefile.common b/mail/ezmlm/Makefile.common
new file mode 100644
index 00000000000..dc8b431c6b4
--- /dev/null
+++ b/mail/ezmlm/Makefile.common
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile.common,v 1.1 2002/07/23 08:42:35 schmonz Exp $
+#
+
+EZMLM_VERS= ezmlm-0.53
+
+MASTER_SITES= http://cr.yp.to/software/
+CATEGORIES= mail
+DISTFILES= ${DISTNAME}.tar.gz
+
+DEPENDS+= qmail>=1.03:../../mail/qmail
+
+PLIST_SRC= ../../mail/ezmlm/PLIST.common
+
+ALL_TARGET= it man
+INSTALL_TARGET= setup
+
+RESTRICTED= "unsure of djb's license"
+NO_BIN_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+
+do-configure:
+ ${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
+ ${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
+ ${ECHO} ${PREFIX}/bin > ${WRKSRC}/conf-bin
+ ${ECHO} ${PREFIX}/man > ${WRKSRC}/conf-man
+ ${ECHO} ${QMAILDIR} > ${WRKSRC}/conf-qmail
diff --git a/mail/ezmlm/PLIST b/mail/ezmlm/PLIST.common
index 69c6f450bbc..a09157b98c6 100644
--- a/mail/ezmlm/PLIST
+++ b/mail/ezmlm/PLIST.common
@@ -1,26 +1,14 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 01:00:01 zuntum Exp $
+@comment $NetBSD: PLIST.common,v 1.1 2002/07/23 08:42:37 schmonz Exp $
+bin/ezmlm-list
bin/ezmlm-make
bin/ezmlm-manage
-bin/ezmlm-send
bin/ezmlm-reject
bin/ezmlm-return
-bin/ezmlm-warn
-bin/ezmlm-weed
-bin/ezmlm-list
+bin/ezmlm-send
bin/ezmlm-sub
bin/ezmlm-unsub
-man/man5/ezmlm.5
-man/man1/ezmlm-list.1
-man/man1/ezmlm-make.1
-man/man1/ezmlm-manage.1
-man/man1/ezmlm-reject.1
-man/man1/ezmlm-return.1
-man/man1/ezmlm-send.1
-man/man1/ezmlm-sub.1
-man/man1/ezmlm-unsub.1
-man/man1/ezmlm-warn.1
-man/man1/ezmlm-weed.1
-man/cat5/ezmlm.0
+bin/ezmlm-warn
+bin/ezmlm-weed
man/cat1/ezmlm-list.0
man/cat1/ezmlm-make.0
man/cat1/ezmlm-manage.0
@@ -31,3 +19,15 @@ man/cat1/ezmlm-sub.0
man/cat1/ezmlm-unsub.0
man/cat1/ezmlm-warn.0
man/cat1/ezmlm-weed.0
+man/cat5/ezmlm.0
+man/man1/ezmlm-list.1
+man/man1/ezmlm-make.1
+man/man1/ezmlm-manage.1
+man/man1/ezmlm-reject.1
+man/man1/ezmlm-return.1
+man/man1/ezmlm-send.1
+man/man1/ezmlm-sub.1
+man/man1/ezmlm-unsub.1
+man/man1/ezmlm-warn.1
+man/man1/ezmlm-weed.1
+man/man5/ezmlm.5