Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Oct 2008 19:14:06 +0300
From:      Marin Atanasov <dnaeon@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: My interactive version of pkg_add - finished!
Message-ID:  <48E7964E.5000908@gmail.com>
In-Reply-To: <48E785AA.6060300@gmail.com>
References:  <20081004134859.GA29970@lpthe.jussieu.fr> <48E785AA.6060300@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bsd.port.subdir.mk>
> .include <bsd.prog.mk>
>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48E7964E.5000908>