aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-04-06 03:56:38 +0800
committerpav <pav@FreeBSD.org>2010-04-06 03:56:38 +0800
commit87ec7127f6c19b9a97330b64e4f9a49cdfd86c24 (patch)
tree4d63b8c196bd2c0f4d5daa922ead493cc4565810
parent5cd1f6e2121629398ecdda620fa61c83e2b80725 (diff)
downloadfreebsd-ports-gnome-87ec7127f6c19b9a97330b64e4f9a49cdfd86c24.tar.gz
freebsd-ports-gnome-87ec7127f6c19b9a97330b64e4f9a49cdfd86c24.tar.zst
freebsd-ports-gnome-87ec7127f6c19b9a97330b64e4f9a49cdfd86c24.zip
- Change the location of installed mk files to ${PREFIX}/share/netbsd-pkgsrc-mk
PR: ports/144923 Submitted by: Mikolaj Golub <to.my.trociny@gmail.com> (maintainer)
-rw-r--r--devel/netbsd-pkgsrc-mk-files/Makefile4
-rw-r--r--devel/netbsd-pkgsrc-mk-files/pkg-plist1
2 files changed, 4 insertions, 1 deletions
diff --git a/devel/netbsd-pkgsrc-mk-files/Makefile b/devel/netbsd-pkgsrc-mk-files/Makefile
index e3ad87b962c9..d85a2495e1f3 100644
--- a/devel/netbsd-pkgsrc-mk-files/Makefile
+++ b/devel/netbsd-pkgsrc-mk-files/Makefile
@@ -7,6 +7,7 @@
PORTNAME= netbsd-pkgsrc-mk-files
PORTVERSION= 20100117
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.mova.org/~cheusov/pub/netbsd-tools/pkgsrc-mk-files/ \
http://trociny.googlecode.com/files/
@@ -17,11 +18,12 @@ COMMENT= Collection of mk-files from pkgsrc project
RUN_DEPENDS= bmake:${PORTSDIR}/devel/bmake
USE_BZIP2= YES
-DATADIR= ${PREFIX}/share/mk
+DATADIR= ${PREFIX}/share/netbsd-pkgsrc-mk
NO_BUILD= yes
do-install:
cd ${WRKSRC} && \
+ ${MKDIR} ${DATADIR} && \
MK_DST=${DATADIR} OPSYS=FreeBSD SYSCONFDIR=${PREFIX}/etc \
ROOT_GROUP=wheel ROOT_USER=root \
CP=cp SED=sed \
diff --git a/devel/netbsd-pkgsrc-mk-files/pkg-plist b/devel/netbsd-pkgsrc-mk-files/pkg-plist
index f721efb1b67f..e96ec793e8bb 100644
--- a/devel/netbsd-pkgsrc-mk-files/pkg-plist
+++ b/devel/netbsd-pkgsrc-mk-files/pkg-plist
@@ -19,3 +19,4 @@
%%DATADIR%%/bsd.subdir.mk
%%DATADIR%%/bsd.sys.mk
%%DATADIR%%/sys.mk
+@dirrm %%DATADIR%%