aboutsummaryrefslogtreecommitdiffstats
path: root/devel/kBuild-devel
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2009-05-25 03:49:42 +0800
committergahr <gahr@FreeBSD.org>2009-05-25 03:49:42 +0800
commitd0c354563fa3307b8c4ab7ebfb9d622b0b60b47c (patch)
tree929bf6f8565959a6751cbb556adeced7833e2255 /devel/kBuild-devel
parentb475ee2ca0385671dcf703cc61d5584475eca04d (diff)
downloadfreebsd-ports-gnome-d0c354563fa3307b8c4ab7ebfb9d622b0b60b47c.tar.gz
freebsd-ports-gnome-d0c354563fa3307b8c4ab7ebfb9d622b0b60b47c.tar.zst
freebsd-ports-gnome-d0c354563fa3307b8c4ab7ebfb9d622b0b60b47c.zip
- Fix PORTDOCS location within WRKSRC
- Slightly refactor Makefile Reported by: Olivier Cochard-Labbe' <olivier@cochard.me>, Andrey <andrey.kosachenko@gmail.com>
Diffstat (limited to 'devel/kBuild-devel')
-rw-r--r--devel/kBuild-devel/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/kBuild-devel/Makefile b/devel/kBuild-devel/Makefile
index 2073841c75b6..86e18e2f98c0 100644
--- a/devel/kBuild-devel/Makefile
+++ b/devel/kBuild-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= kBuild
-DISTVERSION= 0.1.5-p1
+DISTVERSION= ${KBUILD_VERSION}-p1
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.netlabs.org/pub/kbuild/
@@ -20,6 +20,7 @@ USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
+KBUILD_VERSION= 0.1.5
KBUILD_ARCH= ${MACHINE_ARCH:S/i386/x86/}
KBUILD_ENV= ACLOCAL=${ACLOCAL} \
AUTOMAKE=${AUTOMAKE} \
@@ -55,7 +56,7 @@ do-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/out/freebsd.${KBUILD_ARCH}/release${PREFIX}/share/doc/${PKGNAME:S/.p1//}/${doc} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/out/freebsd.${KBUILD_ARCH}/release${PREFIX}/share/doc/${PORTNAME}-${KBUILD_VERSION}/${doc} ${DOCSDIR}
.endfor
.endif