Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2013 14:11:55 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335894 - head/misc/xpns
Message-ID:  <201312081411.rB8EBt00097041@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sun Dec  8 14:11:54 2013
New Revision: 335894
URL: http://svnweb.freebsd.org/changeset/ports/335894

Log:
  - Add stage support

Modified:
  head/misc/xpns/Makefile

Modified: head/misc/xpns/Makefile
==============================================================================
--- head/misc/xpns/Makefile	Sun Dec  8 13:36:11 2013	(r335893)
+++ head/misc/xpns/Makefile	Sun Dec  8 14:11:54 2013	(r335894)
@@ -26,21 +26,16 @@ PLIST_FILES=	bin/xpns \
 PLIST_DIRS=	%%DATADIR%% \
 		libexec/xpns
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xpns
 
 do-install:
-	(cd ${WRKSRC} && ${INSTALL_SCRIPT} xpns ${PREFIX}/bin)
-	@${MKDIR} ${PREFIX}/libexec/xpns
-	(cd ${WRKSRC} && ${INSTALL_PROGRAM} pns ${PREFIX}/libexec/xpns)
-	@${MKDIR} ${DATADIR}
-	(cd ${WRKSRC} && ${INSTALL_DATA} pns.hlp pns.shell ${DATADIR})
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	(cd ${WRKSRC} && ${INSTALL_DATA} *.net ${DOCSDIR})
-.endif
+	(cd ${WRKSRC} && ${INSTALL_SCRIPT} xpns ${STAGEDIR}${PREFIX}/bin)
+	@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/xpns
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} pns ${STAGEDIR}${PREFIX}/libexec/xpns)
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} pns.hlp pns.shell ${STAGEDIR}${DATADIR})
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} *.net ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>



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