summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-09-17 09:30:35 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-09-17 09:30:35 +0000
commitc3fa1433484242695d37232f3a28d04e9551dbac (patch)
treeb784754ef7d3ecdfedd6d35f5b1eaf019499d00f
parent3d311af29daaebb58059bc9561302f717a5f7c58 (diff)
slightly simpler install.
-rw-r--r--usr.sbin/pkg_add/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/Makefile b/usr.sbin/pkg_add/Makefile
index eab24498e4f..2eb9948114b 100644
--- a/usr.sbin/pkg_add/Makefile
+++ b/usr.sbin/pkg_add/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.30 2005/09/04 22:47:56 espie Exp $
+# $OpenBSD: Makefile,v 1.31 2005/09/17 09:30:34 espie Exp $
.include <bsd.own.mk>
@@ -35,6 +35,7 @@ PACKAGES= \
OpenBSD/Vstat.pm \
OpenBSD/md5.pm \
+PACKAGEDIRS=OpenBSD
SCRIPTS= \
pkg_add \
@@ -99,9 +100,11 @@ stamp-mansrc.build:
@touch $@
install:
-.for i in ${PACKAGES}
+.for i in ${PACKAGEDIRS}
${INSTALL} -d -o ${LIBOWN} -g ${LIBGRP} -m ${DIRMODE} \
- ${DESTDIR}${LIBBASE}/${i:H}
+ ${DESTDIR}${LIBBASE}/$i
+.endfor
+.for i in ${PACKAGES}
${INSTALL} ${INSTALL_COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${.CURDIR}/$i ${DESTDIR}${LIBBASE}/$i
.endfor