svn commit: r345309 - in head/devel/mkcmd: . files

Martin Wilke miwi at FreeBSD.org
Fri Feb 21 01:59:51 UTC 2014


Author: miwi
Date: Fri Feb 21 01:59:49 2014
New Revision: 345309
URL: http://svnweb.freebsd.org/changeset/ports/345309
QAT: https://qat.redports.org/buildarchive/r345309/

Log:
  - Stage support

Modified:
  head/devel/mkcmd/Makefile
  head/devel/mkcmd/files/patch-ac
  head/devel/mkcmd/files/patch-ae
  head/devel/mkcmd/pkg-plist

Modified: head/devel/mkcmd/Makefile
==============================================================================
--- head/devel/mkcmd/Makefile	Fri Feb 21 01:59:40 2014	(r345308)
+++ head/devel/mkcmd/Makefile	Fri Feb 21 01:59:49 2014	(r345309)
@@ -17,11 +17,8 @@ BUILD_DEPENDS=	makeme:${PORTSDIR}/devel/
 
 MAKE_FLAGS=
 MAKEFILE=
+USES=		desthack
 
-MAN1=		mkcmd.1
-MAN5=		mkcmd.5
-
-NO_STAGE=	yes
 post-patch:
 .for f in bin/mkcmd/machine.h bin/mkcmd/mkcmd.man lib/mkcmd/mkcmd.man
 	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${f}
@@ -37,8 +34,8 @@ do-install:
 	    ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
 .endfor
 	${INSTALL_MAN} ${WRKSRC}/bin/mkcmd/mkcmd.man \
-	    ${PREFIX}/man/man1/mkcmd.1
+	    ${STAGEDIR}${PREFIX}/man/man1/mkcmd.1
 	${INSTALL_MAN} ${WRKSRC}/lib/mkcmd/mkcmd.man \
-	    ${PREFIX}/man/man5/mkcmd.5
+	    ${STAGEDIR}${PREFIX}/man/man5/mkcmd.5
 
 .include <bsd.port.mk>

Modified: head/devel/mkcmd/files/patch-ac
==============================================================================
--- head/devel/mkcmd/files/patch-ac	Fri Feb 21 01:59:40 2014	(r345308)
+++ head/devel/mkcmd/files/patch-ac	Fri Feb 21 01:59:49 2014	(r345309)
@@ -5,7 +5,7 @@
  
  SHELL=/bin/sh
 -LIB=	${DESTDIR}/usr/local/lib/mkcmd
-+LIB=	${PREFIX}/share/mkcmd
++LIB=	${DESTDIR}${PREFIX}/share/mkcmd
  
  TEMPL=	Template.m bytes.m bytes.mi client.m \
  bsd.m \

Modified: head/devel/mkcmd/files/patch-ae
==============================================================================
--- head/devel/mkcmd/files/patch-ae	Fri Feb 21 01:59:40 2014	(r345308)
+++ head/devel/mkcmd/files/patch-ae	Fri Feb 21 01:59:49 2014	(r345309)
@@ -5,7 +5,7 @@
  'ifelse(HOSTTYPE,`PTX',
  `BIN=	${ROOT}/bin',
 -`BIN=	${DESTDIR}/usr/local/bin')`
-+`BIN=	${PREFIX}/bin')`
++`BIN=	${DESTDIR}${PREFIX}/bin')`
  PROG=	mkcmd
  
  I=/usr/include

Modified: head/devel/mkcmd/pkg-plist
==============================================================================
--- head/devel/mkcmd/pkg-plist	Fri Feb 21 01:59:40 2014	(r345308)
+++ head/devel/mkcmd/pkg-plist	Fri Feb 21 01:59:49 2014	(r345309)
@@ -231,5 +231,7 @@ share/mkcmd/xdr/Cstring.m
 share/mkcmd/xdr/Cstring.mc
 share/mkcmd/xdr/Cstring.mh
 share/mkcmd/xdr/Cstring.mi
+man/man1/mkcmd.1.gz
+man/man5/mkcmd.5.gz
 @dirrm share/mkcmd/xdr
 @dirrm share/mkcmd


More information about the svn-ports-head mailing list