diff options
author | gahr <gahr@FreeBSD.org> | 2009-05-25 03:49:42 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2009-05-25 03:49:42 +0800 |
commit | d0c354563fa3307b8c4ab7ebfb9d622b0b60b47c (patch) | |
tree | 929bf6f8565959a6751cbb556adeced7833e2255 /devel/kBuild-devel | |
parent | b475ee2ca0385671dcf703cc61d5584475eca04d (diff) | |
download | freebsd-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/Makefile | 5 |
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 |