1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +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
USES= uidfix
ONLY_FOR_ARCHS= i386 amd64
NO_MANCOMPRESS= yes
MAN1= linux_kdump.1.gz
PLIST_FILES= bin/linux_kdump
PLIST_FILES= bin/linux_kdump man/man1/linux_kdump.1.gz
NO_STAGE= yes
.include <bsd.port.pre.mk>
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
.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>