svn commit: r353859 - head/devel/linux_kdump

Juergen Lock nox at FreeBSD.org
Mon May 12 16:17:13 UTC 2014


Author: nox
Date: Mon May 12 16:17:12 2014
New Revision: 353859
URL: http://svnweb.freebsd.org/changeset/ports/353859
QAT: https://qat.redports.org/buildarchive/r353859/

Log:
  Stagify.

Modified:
  head/devel/linux_kdump/Makefile

Modified: head/devel/linux_kdump/Makefile
==============================================================================
--- head/devel/linux_kdump/Makefile	Mon May 12 16:15:37 2014	(r353858)
+++ head/devel/linux_kdump/Makefile	Mon May 12 16:17:12 2014	(r353859)
@@ -13,12 +13,11 @@ COMMENT=	Linux-compatibility ktrace.out 
 
 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 i
 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>


More information about the svn-ports-all mailing list