Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 2014 15:23:58 +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: r344404 - in head/math/topaz: . files
Message-ID:  <201402151523.s1FFNwqO070815@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sat Feb 15 15:23:58 2014
New Revision: 344404
URL: http://svnweb.freebsd.org/changeset/ports/344404
QAT: https://qat.redports.org/buildarchive/r344404/

Log:
  - Add stage support
  - Add LICENSE
  - Improve COMMENT

Modified:
  head/math/topaz/Makefile
  head/math/topaz/files/patch-ab

Modified: head/math/topaz/Makefile
==============================================================================
--- head/math/topaz/Makefile	Sat Feb 15 15:12:37 2014	(r344403)
+++ head/math/topaz/Makefile	Sat Feb 15 15:23:58 2014	(r344404)
@@ -8,19 +8,18 @@ MASTER_SITES=	http://hp.vector.co.jp/aut
 DISTNAME=	${PORTNAME}-${PORTVERSION:S/./_/}-src
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A command driven graph plotting system for scientists and engineers
+COMMENT=	Command driven graph plotting system for scientists and engineers
+
+LICENSE=	GPLv2
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 USE_XORG=	x11
 MAKEFILE=	Makefile.freebsd
 
-NO_STAGE=	yes
 post-install:
-	${LN} -sf ${PREFIX}/lib/topaz/topaz.sh ${PREFIX}/bin/topaz
-.if !defined(NOPORTEXAMPLES)
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}
-.endif
+	${LN} -sf ${PREFIX}/lib/topaz/topaz.sh ${STAGEDIR}${PREFIX}/bin/topaz
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/sample/* ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/math/topaz/files/patch-ab
==============================================================================
--- head/math/topaz/files/patch-ab	Sat Feb 15 15:12:37 2014	(r344403)
+++ head/math/topaz/files/patch-ab	Sat Feb 15 15:23:58 2014	(r344404)
@@ -53,21 +53,21 @@
 -           mkdir $(INSTALLDIR)/sample \
 -        ; fi
 -	cp ./sample/* $(INSTALLDIR)/sample
-+	-mkdir -p $(INSTALLDIR)
-+	$(BSD_INSTALL_SCRIPT) ./topaz.sh $(INSTALLDIR)
-+	$(BSD_INSTALL_DATA) ./head.ps $(INSTALLDIR)
-+	$(BSD_INSTALL_DATA) ./HISTORY $(INSTALLDIR)
-+	$(BSD_INSTALL_DATA) ./LICENSE $(INSTALLDIR)
-+	$(BSD_INSTALL_DATA) ./README.euc $(INSTALLDIR)/README
-+	$(BSD_INSTALL_DATA) ./INSTALL.euc $(INSTALLDIR)/INSTALL
-+	$(BSD_INSTALL_PROGRAM) ./topaz/topaz $(INSTALLDIR)
-+	$(BSD_INSTALL_PROGRAM) ./topaz/tpv2ps $(INSTALLDIR)
-+	$(BSD_INSTALL_PROGRAM) ./topaz/tpvview $(INSTALLDIR)
-+	-mkdir -p $(INSTALLDIR)/_topaz
-+	$(BSD_INSTALL_DATA) ./_topaz/* $(INSTALLDIR)/_topaz
-+	$(BSD_INSTALL_DATA) ./cuirc.lnx $(INSTALLDIR)/_topaz/cui.rc
-+	$(BSD_INSTALL_DATA) ./topazfontmap $(INSTALLDIR)/_topaz
-+	$(BSD_INSTALL_DATA) ./topazkfontmap $(INSTALLDIR)/_topaz
++	-mkdir -p ${DESTDIR}$(INSTALLDIR)
++	$(BSD_INSTALL_SCRIPT) ./topaz.sh ${DESTDIR}$(INSTALLDIR)
++	$(BSD_INSTALL_DATA) ./head.ps ${DESTDIR}$(INSTALLDIR)
++	$(BSD_INSTALL_DATA) ./HISTORY ${DESTDIR}$(INSTALLDIR)
++	$(BSD_INSTALL_DATA) ./LICENSE ${DESTDIR}$(INSTALLDIR)
++	$(BSD_INSTALL_DATA) ./README.euc ${DESTDIR}$(INSTALLDIR)/README
++	$(BSD_INSTALL_DATA) ./INSTALL.euc ${DESTDIR}$(INSTALLDIR)/INSTALL
++	$(BSD_INSTALL_PROGRAM) ./topaz/topaz ${DESTDIR}$(INSTALLDIR)
++	$(BSD_INSTALL_PROGRAM) ./topaz/tpv2ps ${DESTDIR}$(INSTALLDIR)
++	$(BSD_INSTALL_PROGRAM) ./topaz/tpvview ${DESTDIR}$(INSTALLDIR)
++	-mkdir -p ${DESTDIR}$(INSTALLDIR)/_topaz
++	$(BSD_INSTALL_DATA) ./_topaz/* ${DESTDIR}$(INSTALLDIR)/_topaz
++	$(BSD_INSTALL_DATA) ./cuirc.lnx ${DESTDIR}$(INSTALLDIR)/_topaz/cui.rc
++	$(BSD_INSTALL_DATA) ./topazfontmap ${DESTDIR}$(INSTALLDIR)/_topaz
++	$(BSD_INSTALL_DATA) ./topazkfontmap ${DESTDIR}$(INSTALLDIR)/_topaz
 +#	-mkdir -p $(PREFIX)/share/examples/topaz
 +#	$(BSD_INSTALL_DATA) ./sample/* ${PREFIX}/share/examples/topaz
  



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