Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 13:02:57 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333681 - head/dns/sshfp
Message-ID:  <201311131302.rADD2vY8031437@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Nov 13 13:02:56 2013
New Revision: 333681
URL: http://svnweb.freebsd.org/changeset/ports/333681

Log:
  Support staging.

Modified:
  head/dns/sshfp/Makefile
  head/dns/sshfp/pkg-plist

Modified: head/dns/sshfp/Makefile
==============================================================================
--- head/dns/sshfp/Makefile	Wed Nov 13 12:50:18 2013	(r333680)
+++ head/dns/sshfp/Makefile	Wed Nov 13 13:02:56 2013	(r333681)
@@ -22,13 +22,10 @@ GH_ACCOUNT=	xelerance
 GH_TAGNAME=	${PORTVERSION}
 GH_COMMIT=	3378f7d
 
-MAN1=		sshfp.1 dane.1
-
 PY_FILES=	sshfp dane
 
 WRKSRC=		${WRKDIR}/${GH_ACCOUNT}-${PORTNAME}-${GH_COMMIT}
 
-NO_STAGE=	yes
 post-patch:
 .for f in ${PY_FILES} daneldnsx.py
 	@${REINPLACE_CMD} -e '1s|.*|#!${PYTHON_CMD}|' ${WRKSRC}/${f}
@@ -36,9 +33,10 @@ post-patch:
 
 do-install:
 .for f in ${PY_FILES}
-	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${f}.1 ${MANPREFIX}/man/man1
+	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${f}.1 ${STAGEDIR}${MANPREFIX}/man/man1
 .endfor
-	${INSTALL_SCRIPT} ${WRKSRC}/daneldnsx.py ${PYTHON_SITELIBDIR}/
+	${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/daneldnsx.py ${STAGEDIR}${PYTHON_SITELIBDIR}
 
 .include <bsd.port.mk>

Modified: head/dns/sshfp/pkg-plist
==============================================================================
--- head/dns/sshfp/pkg-plist	Wed Nov 13 12:50:18 2013	(r333680)
+++ head/dns/sshfp/pkg-plist	Wed Nov 13 13:02:56 2013	(r333681)
@@ -1,3 +1,5 @@
 bin/dane
 bin/sshfp
+man/man1/dane.1.gz
+man/man1/sshfp.1.gz
 %%PYTHON_SITELIBDIR%%/daneldnsx.py



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311131302.rADD2vY8031437>