Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 May 2014 00:24:32 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353550 - head/math/calctool
Message-ID:  <201405100024.s4A0OWYa066333@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat May 10 00:24:32 2014
New Revision: 353550
URL: http://svnweb.freebsd.org/changeset/ports/353550
QAT: https://qat.redports.org/buildarchive/r353550/

Log:
  - Support staging

Modified:
  head/math/calctool/Makefile
  head/math/calctool/pkg-plist

Modified: head/math/calctool/Makefile
==============================================================================
--- head/math/calctool/Makefile	Sat May 10 00:23:49 2014	(r353549)
+++ head/math/calctool/Makefile	Sat May 10 00:24:32 2014	(r353550)
@@ -5,8 +5,7 @@ PORTNAME=	calctool
 PORTVERSION=	2.4.13
 PORTREVISION=	5
 CATEGORIES=	math
-MASTER_SITES=	${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=	nsayer
+MASTER_SITES=	LOCAL/nsayer
 DISTNAME=	calctool-2.4pl13
 
 MAINTAINER=	ports@FreeBSD.org
@@ -20,9 +19,6 @@ X11_DESC=	Build X11 version of calctool
 TTY_DESC=	Build tty version of calctool
 XVIEW_DESC=	Build tty version of calctool
 
-MAN1=		calctool.1
-
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MX11}
@@ -62,13 +58,13 @@ post-patch:
 				${WRKSRC}/Makefile
 
 do-install:
-	${MKDIR} ${DATADIR}
-	${INSTALL_PROGRAM} ${WRKSRC}/libcalctool.so.1 ${PREFIX}/lib
-	@(cd ${PREFIX}/lib; ${LN} -sf libcalctool.so.1 libcalctool.so)
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/libcalctool.so.1 ${STAGEDIR}${PREFIX}/lib
+	@(cd ${STAGEDIR}${PREFIX}/lib; ${LN} -sf libcalctool.so.1 libcalctool.so)
 .for BIN in ${BINARIES}
-	${INSTALL_PROGRAM} ${WRKSRC}/${BIN} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/${BIN} ${STAGEDIR}${PREFIX}/bin
 .endfor
-	${INSTALL_MAN} ${WRKSRC}/calctool.1 ${PREFIX}/man/man1
-	${INSTALL_DATA} ${WRKSRC}/calctool.help ${DATADIR}
+	${INSTALL_MAN} ${WRKSRC}/calctool.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_DATA} ${WRKSRC}/calctool.help ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>

Modified: head/math/calctool/pkg-plist
==============================================================================
--- head/math/calctool/pkg-plist	Sat May 10 00:23:49 2014	(r353549)
+++ head/math/calctool/pkg-plist	Sat May 10 00:24:32 2014	(r353550)
@@ -3,5 +3,6 @@
 %%XVIEW%%bin/xv_calctool
 lib/libcalctool.so
 lib/libcalctool.so.1
+man/man1/calctool.1.gz
 %%DATADIR%%/calctool.help
 @dirrm %%DATADIR%%



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