From owner-freebsd-ports Thu Jun 29 5:26:19 2000 Delivered-To: freebsd-ports@freebsd.org Received: from blizzard.sabbo.net (blizzard.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id 56A7937BB1A for ; Thu, 29 Jun 2000 05:26:07 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Received: from vic.sabbo.net (root@vic.sabbo.net [193.193.218.106]) by blizzard.sabbo.net (8.9.1/8.9.3) with ESMTP id PAA15159; Thu, 29 Jun 2000 15:24:19 +0300 (EEST) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.9.3/8.9.3) with ESMTP id PAA49864; Thu, 29 Jun 2000 15:26:07 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <395B4031.9BE9B7D0@FreeBSD.org> Date: Thu, 29 Jun 2000 15:25:21 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.73 [en] (WinNT; I) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: "Lester A. Mesa" Cc: freebsd-ports@FreeBSD.org Subject: Re: Please HELP! References: <001001bfe168$f3477c60$0b040a0a@sysop> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "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 > ------------------------------------------------------------------------- > > ----------------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