diff options
author | rh <rh@pkgsrc.org> | 2001-08-01 14:09:38 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2001-08-01 14:09:38 +0000 |
commit | b40cb612e0d1bf670ce49433a937c8b2a7864e5f (patch) | |
tree | 21efcc372e42f87d2aa6e2edb36b1a1e60c8b4fe /mail | |
parent | b335a408dd398c525f5a0180e8b38b6d3c8c3d7f (diff) | |
download | pkgsrc-b40cb612e0d1bf670ce49433a937c8b2a7864e5f.tar.gz |
Oops, forgot to install cgi-lib.pl. And while we are at it, install
documentation as well.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mailserv/Makefile | 16 | ||||
-rw-r--r-- | mail/mailserv/pkg/PLIST | 7 |
2 files changed, 18 insertions, 5 deletions
diff --git a/mail/mailserv/Makefile b/mail/mailserv/Makefile index 554143c08bf..367160b9a39 100644 --- a/mail/mailserv/Makefile +++ b/mail/mailserv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2001/08/01 13:54:10 rh Exp $ +# $NetBSD: Makefile,v 1.2 2001/08/01 14:09:38 rh Exp $ # DISTNAME= mailserv @@ -15,16 +15,20 @@ USE_PERL5= YES NO_BUILD= YES do-configure: +.for file in mailserv cgi-lib.pl cd ${WRKSRC} && \ - ${CHMOD} 0755 mailserv && \ - ${CP} mailserv mailserv.old && \ - ${SED} < mailserv.old > mailserv \ + ${CHMOD} 0755 ${file} && \ + ${CP} ${file} ${file}.old && \ + ${SED} < ${file}.old > ${file} \ -e "s|@PREFIX@|${PREFIX}|g" \ + -e "s|/usr/local/bin/perl|${PREFIX}/bin/perl|g" \ -e "s|/usr/bin/perl|${PREFIX}/bin/perl|g" +.endfor do-install: ${INSTALL_PROGRAM_DIR} ${PREFIX}/libexec/cgi-bin/mailserv ${INSTALL_SCRIPT} ${WRKSRC}/mailserv ${PREFIX}/libexec/cgi-bin/mailserv + ${INSTALL_SCRIPT} ${WRKSRC}/cgi-lib.pl ${PREFIX}/libexec/cgi-bin/mailserv ${INSTALL_DATA_DIR} ${PREFIX}/etc/mailserv ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mailserv .for cf in listproc listserv mail-list maiser majordomo-admin \ @@ -35,5 +39,9 @@ do-install: cd ${PREFIX}/libexec/cgi-bin/mailserv && \ ${LN} -s mailserv ${cf} .endfor + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mailserv +.for doc in ChangeLog LICENSE README + ${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/mailserv +.endfor .include "../../mk/bsd.pkg.mk" diff --git a/mail/mailserv/pkg/PLIST b/mail/mailserv/pkg/PLIST index 61315917ec9..647823b4d7e 100644 --- a/mail/mailserv/pkg/PLIST +++ b/mail/mailserv/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2001/08/01 13:54:10 rh Exp $ +@comment $NetBSD: PLIST,v 1.2 2001/08/01 14:09:39 rh Exp $ etc/mailserv/listproc.cf etc/mailserv/listserv.cf etc/mailserv/mail-list.cf @@ -10,6 +10,7 @@ etc/mailserv/mlp.cf etc/mailserv/pmdf.cf etc/mailserv/smartlist.cf etc/mailserv/subscribe.cf +libexec/cgi-bin/mailserv/cgi-lib.pl libexec/cgi-bin/mailserv/listproc libexec/cgi-bin/mailserv/listserv libexec/cgi-bin/mailserv/mail-list @@ -22,6 +23,9 @@ libexec/cgi-bin/mailserv/mlp libexec/cgi-bin/mailserv/pmdf libexec/cgi-bin/mailserv/smartlist libexec/cgi-bin/mailserv/subscribe +share/doc/mailserv/ChangeLog +share/doc/mailserv/LICENSE +share/doc/mailserv/README share/examples/mailserv/listproc.cf share/examples/mailserv/listserv.cf share/examples/mailserv/mail-list.cf @@ -34,5 +38,6 @@ share/examples/mailserv/pmdf.cf share/examples/mailserv/smartlist.cf share/examples/mailserv/subscribe.cf @dirrm share/examples/mailserv +@dirrm share/doc/mailserv @dirrm libexec/cgi-bin/mailserv @dirrm etc/mailserv |