Date: Thu, 29 Jun 2000 15:25:21 +0300 From: Maxim Sobolev <sobomax@FreeBSD.org> To: "Lester A. Mesa" <netadmin@primex.prontel.net> Cc: freebsd-ports@FreeBSD.org Subject: Re: Please HELP! Message-ID: <395B4031.9BE9B7D0@FreeBSD.org> References: <001001bfe168$f3477c60$0b040a0a@sysop>
next in thread | previous in thread | raw e-mail | index | archive | help
"Lester A. Mesa" wrote: > I'm creating a port for vpopmail (below I have the Makefile) and everything > configures, build, compiles fine.. but when I try to install it will install > some other directories that did not come with package. Is there a > particular reason for this? > > Here is my Makefile (please let me know of any suggestions) > > -----------------MAKEFILE--------------------------------------------- > # New ports collection makefile for: vpopmail > # Date created: 23 June 2000 > # Whom: mazpe > # > # $FreeBSD$ > # > > PORTNAME= vpopmail > PORTVERSION= 4.8 > CATEGORIES= mail > MASTER_SITES= http://www.vpopmail.cx/ > > MAINTAINER= mazpe@Prontel.com > > # If qmail is not install under /var/qmail, change this to the path > # where qmail is installed. > # IF THIS IS CHANGE TO ANYOTHER THAN /var/qmail BE SURE TO MODIFY > # files/myscript SCRIPT > > QMAIL_DIR= /var/qmail It would be better if you will redesign your script to take QMAIL_DIR as an argument. BTW, QMAIL_DIR definition could moved down (variables ordering is unimportant for make(1)). > BUILD_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail \ > tcpserver:${PORTSDIR}/sysutils/ucspi-tcp > > PREFIX= ${QMAIL_DIR}/vpopmail > IS_INTERACTIVE= yes > HAS_CONFIGURE= yes Is configure script based on GNU autoconf? If so, please replace HAS_CONFIGURE with GNU_CONFIGURE. > CONFIGURE_ARGS= --enable-roaming-users=y > > pre-configure: > ${FILESDIR}/myscript pre-configure: ${FILESDIR}/myscript ${QMAIL_DIR} > do-install: > @cd ${WRKSRC} && ${MAKE} install-strip Use INSTALL_TARGET=install-strip instead. > post-install: > echo postinstall What the lines above supposed to do??? > .include <bsd.port.mk> > ------------------------------------------------------------------------- > > ----------------MYSCRIPT------------------------------------------------- > pw groupadd vchkpw -q; \ > pw useradd vpopmail -d /usr/local/etc/vpopmail -m -g vchkpw -s /bin/sh -h > fd; \ > echo "127.0.0.:allow,RELAYCLIENT=\"\"" > /etc/tcp.smtp > ------------------------------------------------------------------------- See above. > ----------------PLIST---------------------------------------------------- > bin/clearopensmtp > bin/vaddaliasdomain > bin/vadddomain > bin/vadduser > bin/vchkpw > bin/vconvert > bin/vdeldomain > bin/vdelivermail > bin/vdeluser > bin/vmoduser > bin/vpasswd > bin/vpopbull > bin/vsetuserquota > @dirrm bin > doc/doc_html/vpopmail.html > doc/doc_html/vpopmailapi.png > @dirrm doc/doc_html > doc/man_html/clearopensmtp.html > doc/man_html/index.html > doc/man_html/vaddaliasdomain.html > doc/man_html/vadddomain.html > doc/man_html/vadduser.html > doc/man_html/vchkpw.html > doc/man_html/vconvert.html > doc/man_html/vdeldomain.html > doc/man_html/vdelivermail.html > doc/man_html/vdeluser.html > doc/man_html/vpasswd.html > doc/man_html/vpopbull.html > doc/man_html/vsetuserquota.html > @dirrm doc/man_html > @dirrm domains > @dirrm etc > include/config.h > include/vauth.h > include/vpopmail.h > include/vpopmail_config.h > @dirrm include > lib/libvpopmail.a > @dirrm users Please sort it, so all @dirrm's will be grouped at the end of the PLIST. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?395B4031.9BE9B7D0>