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

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to