summaryrefslogtreecommitdiff
path: root/sysutils/hal
diff options
context:
space:
mode:
authorahoka <ahoka>2009-02-28 14:54:23 +0000
committerahoka <ahoka>2009-02-28 14:54:23 +0000
commite3aac9d18a489391956fd4b3bda200d0cc423fd6 (patch)
tree8b2e5b5d10ccc173ec9c3251e8785c2a12d8a4a7 /sysutils/hal
parent5da53d0351cbb89d5bc7cab0d68d9abb06c4668f (diff)
downloadpkgsrc-e3aac9d18a489391956fd4b3bda200d0cc423fd6.tar.gz
Use MAKE_DIRS and OWN_DIRS instead of INSTALL as suggested by Joerg.
Diffstat (limited to 'sysutils/hal')
-rw-r--r--sysutils/hal/INSTALL9
-rw-r--r--sysutils/hal/Makefile6
2 files changed, 4 insertions, 11 deletions
diff --git a/sysutils/hal/INSTALL b/sysutils/hal/INSTALL
deleted file mode 100644
index 33d1731a4e7..00000000000
--- a/sysutils/hal/INSTALL
+++ /dev/null
@@ -1,9 +0,0 @@
-# $NetBSD: INSTALL,v 1.1 2009/02/28 14:00:23 ahoka Exp $
-
-case ${STAGE} in
-POST-INSTALL)
- if [ ! -e /media ]; then
- mkdir /media
- fi
- ;;
-esac
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile
index a6175a25db3..ccef3b0cb00 100644
--- a/sysutils/hal/Makefile
+++ b/sysutils/hal/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2009/02/28 14:00:23 ahoka Exp $
+# $NetBSD: Makefile,v 1.35 2009/02/28 14:54:23 ahoka Exp $
DISTNAME= hal-0.5.11
PKGREVISION= 21
@@ -20,7 +20,9 @@ USE_TOOLS+= gmake intltool msgfmt perl pkg-config
USE_TOOLS+= autoconf automake autoreconf
USE_LIBTOOL= YES
-MAKE_DIRS= ${VARBASE}/cache/hald
+OWN_DIRS+= /media
+MAKE_DIRS+= /media
+MAKE_DIRS+= ${VARBASE}/cache/hald
SPECIAL_PERMS+= ${VARBASE}/cache/hald ${HAL_USER} ${HAL_GROUP} 0644
EGDIR= ${PREFIX}/share/examples/hal