aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2014-02-15 23:23:58 +0800
committerdanilo <danilo@FreeBSD.org>2014-02-15 23:23:58 +0800
commitbbc3ea2c09d74139bdea6d2e7847165b0ab7a2c9 (patch)
tree3f27f8450833062ed6876779aa74fbcc090d4e38 /math
parentbe9517faccc76bf78f944269f4145f2fd4ea583d (diff)
downloadfreebsd-ports-gnome-bbc3ea2c09d74139bdea6d2e7847165b0ab7a2c9.tar.gz
freebsd-ports-gnome-bbc3ea2c09d74139bdea6d2e7847165b0ab7a2c9.tar.zst
freebsd-ports-gnome-bbc3ea2c09d74139bdea6d2e7847165b0ab7a2c9.zip
- Add stage support
- Add LICENSE - Improve COMMENT
Diffstat (limited to 'math')
-rw-r--r--math/topaz/Makefile13
-rw-r--r--math/topaz/files/patch-ab30
2 files changed, 21 insertions, 22 deletions
diff --git a/math/topaz/Makefile b/math/topaz/Makefile
index ce277c9a315b..558187f5d1b2 100644
--- a/math/topaz/Makefile
+++ b/math/topaz/Makefile
@@ -8,19 +8,18 @@ MASTER_SITES= http://hp.vector.co.jp/authors/VA007663/topaz/bin/
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>
diff --git a/math/topaz/files/patch-ab b/math/topaz/files/patch-ab
index 542bbc4b1b10..0d1c539b0cb9 100644
--- a/math/topaz/files/patch-ab
+++ b/math/topaz/files/patch-ab
@@ -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