aboutsummaryrefslogtreecommitdiff
path: root/cad/tochnog
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2005-06-26 10:06:21 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2005-06-26 10:06:21 +0000
commitabc63ad18e107196f5ad393616fafaccaed502b4 (patch)
tree37947a3233127a35ebbded4caa5fbe90278f2f49 /cad/tochnog
parent395b750f34ddb019b5f130b6d3923d2ab8590ed2 (diff)
downloadports-abc63ad18e107196f5ad393616fafaccaed502b4.tar.gz
ports-abc63ad18e107196f5ad393616fafaccaed502b4.zip
Notes
Diffstat (limited to 'cad/tochnog')
-rw-r--r--cad/tochnog/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/cad/tochnog/Makefile b/cad/tochnog/Makefile
index 2551893d8157..d6ef866319e5 100644
--- a/cad/tochnog/Makefile
+++ b/cad/tochnog/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tochnog
PORTVERSION= 20010211
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tochnog
@@ -24,6 +24,13 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/libsuperlu.a:${PORTSDIR}/math/superlu
.endif
LIB_DEPENDS= atlas:${PORTSDIR}/math/atlas
+# This port installs some plugins into a directory which is owned by the
+# the cad/linux-gid port, but it doesn't adds a dependency to linux-gid,
+# since tochnog can be used standalone.
+# The right thing to do would be to add a slave port which installs the
+# plugins only. The slave port would have to depend upon linux-gid and
+# tochnog.
+
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}/src
MAKEFILE= makefile
@@ -31,7 +38,7 @@ MAKEFILE= makefile
GIDDIR?= share/gid
PLIST_SUB+= GIDDIR=${GIDDIR}
-GID_PREFIX?= ${X11BASE}/${GIDDIR}/problemtypes
+GID_PREFIX?= ${LOCALBASE}/${GIDDIR}/problemtypes
.ifdef WITH_THREADS
BLAS_LIBS?= -L${LOCALBASE}/lib -lptf77blas -latlas_r