head	1.8;
access;
symbols
	RELENG_2_1_7_RELEASE:1.6
	RELENG_2_1_6_1_RELEASE:1.6
	RELENG_2_1_6_RELEASE:1.6
	RELENG_2_1_5_RELEASE:1.6
	RELENG_2_1_0_RELEASE:1.6
	RELENG_2_1_0:1.6.0.4
	RELENG_2_1_0_BP:1.6
	RELENG_2_0_5_RELEASE:1.6
	RELENG_2_0_5:1.6.0.2
	RELENG_2_0_5_BP:1.6
	RELENG_2_0_5_ALPHA:1.5
	pkg_manage:1.1.1.1
	marc:1.1.1;
locks; strict;
comment	@# @;


1.8
date	96.02.09.12.09.09;	author jkh;	state dead;
branches;
next	1.7;

1.7
date	95.08.06.12.24.27;	author bde;	state Exp;
branches;
next	1.6;

1.6
date	95.05.30.03.50.08;	author rgrimes;	state Exp;
branches
	1.6.4.1;
next	1.5;

1.5
date	95.05.27.20.05.35;	author jkh;	state Exp;
branches;
next	1.4;

1.4
date	95.04.24.13.00.49;	author jkh;	state Exp;
branches;
next	1.3;

1.3
date	95.04.21.10.23.23;	author jkh;	state Exp;
branches;
next	1.2;

1.2
date	95.04.21.10.05.36;	author jkh;	state Exp;
branches;
next	1.1;

1.1
date	95.02.15.20.47.55;	author ache;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	95.02.15.20.47.56;	author ache;	state Exp;
branches;
next	;

1.6.4.1
date	99.09.05.11.44.32;	author peter;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Nuke pkg_manage.  No fault of the author, but it sort of died when we
went to the multi-directory package scheme since it wasn't designed with
that kind of layout in mind when first written, and the attempts to adapt
it haven't really resulted in an interface that's easy to use.  I will make
a stand-alone version of the pkg installer in sysinstall at some point
and drop it into the existing pkg_install directory.
@
text
@# $Id: Makefile,v 1.7 1995/08/06 12:24:27 bde Exp jkh $

PROG=   pkg_manage
SRCS=   pkg_main.c pkg_manage.c pkg_ui.c version.c
LDADD+= -ldialog -lncurses -lmytinfo
DPADD+= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO}
CFLAGS+= -Wall -Wstrict-prototypes -DHELP_PATH=\"${HELPDIR}/\" \
	 -I${.CURDIR}/../../gnu/lib/libdialog \
	 -I${.CURDIR}/../../lib/libncurses

HELPDIR = /usr/share/misc/pkg_manage

HELPS=	pkg_install.hlp         pkg_preview_fs.hlp \
	pkg_del_inst.hlp        pkg_main.hlp       \
	pkg_ds_install.hlp      pkg_preview.hlp    \
	pkg_view_inst.hlp

afterinstall:
	@@if [ ! -d ${HELPDIR} ]; then rm -f ${HELPDIR}; mkdir -p ${HELPDIR}; fi
	@@cd ${.CURDIR}; \
	for m in ${HELPS} ; do \
	  cmp -s $$m ${DESTDIR}${HELPDIR}/$$m || \
	  ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
		$$m ${DESTDIR}${HELPDIR} ; \
	done

.include <bsd.prog.mk>
@


1.7
log
@Change `install' to `${INSTALL}' so that default install flags can be
specified in the top level Makefiles.

Previously I missed dozens of Makefiles that skip the install after
using `cmp -s' to decide that the install isn't necessary.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.6 1995/05/30 03:50:08 rgrimes Exp $
@


1.6
log
@Remove trailing whitespace.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.5 1995/05/27 20:05:35 jkh Exp $
d23 1
a23 1
	  install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
@


1.6.4.1
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.5
log
@Delete a couple of now-extraneous files.
Noticed by:	ats
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.4 1995/04/24 13:00:49 jkh Exp $
d6 1
a6 1
DPADD+= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO} 
@


1.4
log
@Commit the latest version of this.  This version appears to handle package
failure much more gracefully, as well as implement a few new needed features.
Check it out!
Submitted by:	Marc van Kempen <wmbfmk@@urc.tue.nl>
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.3 1995/04/21 10:23:23 jkh Exp $
d13 4
a16 3
HELPS=	pkg_del-inst.hlp        pkg_install.hlp         pkg_preview_fs.hlp \
	pkg_del_inst.hlp        pkg_main.hlp            pkg_view-inst.hlp  \
	pkg_ds_install.hlp      pkg_preview.hlp         pkg_view_inst.hlp
@


1.3
log
@Whoops - I committed the test environment Makefile by mistake!  This
one should have all the proper relative paths.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.2 1995/04/21 10:05:36 jkh Exp $
d13 3
a15 2
HELPS=  pkg_view-inst.hlp pkg_del-inst.hlp pkg_preview.hlp \
	pkg_install.hlp pkg_main.hlp
@


1.2
log
@Bring this up to date with Marc van Kempen's latest version (1.0) now
that the libdialog changes have gone in to support it.
Submitted by:	Marc van Kempen <wmbfmk@@urc.tue.nl>
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1.1.1 1995/02/15 20:47:56 ache Exp $
d5 1
a5 1
LDADD+= ../libdialog/libdialog.a ../libncurses/libncurses.a -lmytinfo
d8 2
a9 1
	 -I../libdialog -I../libncurses -g
d11 1
a11 2
#HELPDIR = /usr/share/misc/pkg_manage
HELPDIR = /home/marc/src/dialog/pkg_manage
d17 2
a18 1
	cd ${.CURDIR}; \
a25 2

pkg_manage: ../libdialog/libdialog.a
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $Id$
d4 5
a8 3
LDADD+= -ldialog -lncurses -lmytinfo
DPADD+= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO}
CFLAGS+= -Wall -Wstrict-prototypes -DHELP_PATH=\"${HELPDIR}/\"
d10 2
a11 1
HELPDIR = /usr/share/misc/pkg_manage
d26 1
@


1.1.1.1
log
@pkg_manage utility, using file selector
@
text
@@
