1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
This commit is contained in:
Juergen Lock 2014-05-12 16:17:12 +00:00
parent 50dee3742f
commit 416610aa02
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353859

View File

@ -13,12 +13,11 @@ COMMENT= Linux-compatibility ktrace.out processor
BUILD_DEPENDS= ${LINUXBASE}/usr/bin/gcc:${PORTSDIR}/emulators/linux_base-gentoo-stage3 BUILD_DEPENDS= ${LINUXBASE}/usr/bin/gcc:${PORTSDIR}/emulators/linux_base-gentoo-stage3
USES= uidfix
ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS= i386 amd64
NO_MANCOMPRESS= yes NO_MANCOMPRESS= yes
MAN1= linux_kdump.1.gz PLIST_FILES= bin/linux_kdump man/man1/linux_kdump.1.gz
PLIST_FILES= bin/linux_kdump
NO_STAGE= yes
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
pre-everything:: pre-everything::
@ -35,4 +34,12 @@ IGNORE= requires ktrace source present in ${SRC_BASE}/usr.bin/ktrace
IGNORE= does not build with the default linux base, use the package instead IGNORE= does not build with the default linux base, use the package instead
.endif .endif
pre-install:
${MKDIR} ${STAGEDIR}/bin ${STAGEDIR}/man/man1
post-install:
${MV} -i ${STAGEDIR}/bin/linux_kdump ${STAGEDIR}/${PREFIX}/bin
${MV} -i ${STAGEDIR}/man/man1/linux_kdump.1.gz ${STAGEDIR}/${PREFIX}/man/man1
${RMDIR} ${STAGEDIR}/bin ${STAGEDIR}/man/man1 ${STAGEDIR}/man
.include <bsd.port.post.mk> .include <bsd.port.post.mk>