From owner-freebsd-ports@FreeBSD.ORG Sat Oct 4 16:12:59 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A3E81065686 for ; Sat, 4 Oct 2008 16:12:59 +0000 (UTC) (envelope-from dnaeon@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 293798FC1F for ; Sat, 4 Oct 2008 16:12:58 +0000 (UTC) (envelope-from dnaeon@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1346732fgb.35 for ; Sat, 04 Oct 2008 09:12:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=bvX61TOL9b3gCthEyUbK7Dj3/bamS3a2gQ/dlfrJwQk=; b=YsZDg8RmBlqELLsaF487ZxkotpA8oXyourMggPXddEQqtN/u872WNCFoL1ywHf9ULP w9bXiQAlJKRtKs+DXMixozkHMJQAzu1c5WYv6ojR6BHyFwS34zsjrDO77wXmrZfaYLvl OiA1b1Xe52O0j+kxwA3qomVOA3Q54rysh4/Ms= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=rjDyd5+RWUwJSHS6A+BBEy2kC2kgJnQpYvpzwKSt9YQLeGNp3KUf92WteMbsCd8nqw 7EgzC3EjIXfJ9YsEaJAfiqdFUXM6r5jvwKlod6PLB2qd1xNygycTLrkdPm00OT95WFYY B6bMX5X/zfL1c+Lm3ISuGTPjwpBRqzQn1KYYk= Received: by 10.180.231.20 with SMTP id d20mr1910468bkh.68.1223136777723; Sat, 04 Oct 2008 09:12:57 -0700 (PDT) Received: from tsunami.bsdworld ([78.90.73.88]) by mx.google.com with ESMTPS id f31sm7285984fkf.0.2008.10.04.09.12.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 04 Oct 2008 09:12:57 -0700 (PDT) Message-ID: <48E7964E.5000908@gmail.com> Date: Sat, 04 Oct 2008 19:14:06 +0300 From: Marin Atanasov User-Agent: Thunderbird 2.0.0.17 (X11/20080927) MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <20081004134859.GA29970@lpthe.jussieu.fr> <48E785AA.6060300@gmail.com> In-Reply-To: <48E785AA.6060300@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: My interactive version of pkg_add - finished! X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 16:12:59 -0000 Marin Atanasov wrote: > Thanks, I've read it and now my Makefile is as follows: > PROG= pkg_add_it > SRCS= fnode.c explode.c scan_directory.c scan_index_file.c pkg_add_it.c > > .include > .include > > It builds, installs, cleans, etc.. but when I `make install' it > finishes successfully, but does not actually install the files - > `pkg_add_it' and `pkg_add_it.1' > > Perhaps I'm missing something here.. but what? > Thanks, again! > I figured it out - after adding these lines to my Makefile everything is ok now: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pkg_add_it ${PREFIX}/sbin/pkg_add_it ${INSTALL_MAN} ${WRKSRC}/pkg_add_it.1 ${MAN1PREFIX}/man/man1 -- Marin Atanasov dnaeon AT gmail DOT com daemon AT unix-heaven DOT org