summaryrefslogtreecommitdiff
path: root/math/pari/Makefile
diff options
context:
space:
mode:
authorjtb <jtb>2001-05-04 17:14:08 +0000
committerjtb <jtb>2001-05-04 17:14:08 +0000
commitb77c10db4315cd0068589157ec5a782a20df4d29 (patch)
treeb918846ed64d6b25f8b3cacefa841f58fb5a3f2c /math/pari/Makefile
parent5096e4d734fa5ef07dab1af3b401361c52b1c0d1 (diff)
downloadpkgsrc-b77c10db4315cd0068589157ec5a782a20df4d29.tar.gz
* Install examples.
* Install library as libpari.a. (Previously the package installed libpari.a.2.1 and created a symbolic link libpari.a). * Fix warning about O_RDONLY being redefined.
Diffstat (limited to 'math/pari/Makefile')
-rw-r--r--math/pari/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/math/pari/Makefile b/math/pari/Makefile
index 91d6b158b7b..01d020e7008 100644
--- a/math/pari/Makefile
+++ b/math/pari/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2001/05/03 22:16:51 jtb Exp $
+# $NetBSD: Makefile,v 1.6 2001/05/04 17:14:08 jtb Exp $
DISTNAME= pari-2.1.0
CATEGORIES= math
@@ -7,7 +7,7 @@ MASTER_SITES= ftp://www.gn-50uma.de/gn/gn-50uma.de/pari-2.1/ \
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.parigp-home.de
-COMMENT= PARI-GP is a software package for computer-aided number theory
+COMMENT= software package for computer-aided number theory
DEPENDS+= readline>=4.0:../../devel/readline
BUILD_DEPENDS+= emacs-[0-9]*:../../editors/emacs
@@ -32,4 +32,9 @@ CONFIGURE_ENV+= X11BASE=${X11BASE}
CONFIGURE_ARGS+= --graphic=X11
CONFIGURE_ENV+= miscdir=${PREFIX}/share/pari
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pari
+ cd ${WRKSRC}/examples/ && ${INSTALL_DATA} EXPLAIN *.gp \
+ matexp.c Inputrc ${PREFIX}/share/examples/pari
+
.include "../../mk/bsd.pkg.mk"