aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2003-08-18 07:29:46 +0800
committerperky <perky@FreeBSD.org>2003-08-18 07:29:46 +0800
commit06ee0d1dd085e0753c4cc3640968eae6ed125a23 (patch)
tree8ef4c841defe425c58032791edaab8e209bcb300 /science
parente355aa759929aa3d6b4543b5aa7b50503b33fee5 (diff)
downloadfreebsd-ports-gnome-06ee0d1dd085e0753c4cc3640968eae6ed125a23.tar.gz
freebsd-ports-gnome-06ee0d1dd085e0753c4cc3640968eae6ed125a23.tar.zst
freebsd-ports-gnome-06ee0d1dd085e0753c4cc3640968eae6ed125a23.zip
- Don't hardcode python version on Makefile and pkg-plist.
- Add missing x11-toolkits/lesstif dependency.
Diffstat (limited to 'science')
-rw-r--r--science/bblimage/Makefile4
-rw-r--r--science/bblimage/pkg-plist16
-rw-r--r--science/pyvox/Makefile4
-rw-r--r--science/pyvox/pkg-plist16
4 files changed, 22 insertions, 18 deletions
diff --git a/science/bblimage/Makefile b/science/bblimage/Makefile
index 94060f4f85c3..aafbea8594a4 100644
--- a/science/bblimage/Makefile
+++ b/science/bblimage/Makefile
@@ -15,6 +15,8 @@ EXTRACT_SUFX= .src.tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A set of software tools for medical image processing
+LIB_DEPENDS= Xm.2:${PORTSDIR}/x11-toolkits/lesstif
+
USE_PYTHON= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
@@ -27,6 +29,6 @@ MAN1= anonbblanz.1 bblimage.1 binnseg.1 conseg.1 decomment.1 dumpbblanz.1 \
MAN5= cdata.5 mri_data.5 param.5
post-patch:
- @${REINPLACE_CMD} -e "s|1\.5|2.2|g" ${WRKSRC}/configure ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e "s|python1\.5|${PYTHON_VERSION}|g" ${WRKSRC}/configure ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
diff --git a/science/bblimage/pkg-plist b/science/bblimage/pkg-plist
index 2d43acd1cffe..f7cc5766a10f 100644
--- a/science/bblimage/pkg-plist
+++ b/science/bblimage/pkg-plist
@@ -14,11 +14,11 @@ bin/usb2uc
bin/vibihist
bin/vihist
lib/libbbli.so
-lib/python2.2/site-packages/exim.so
-lib/python2.2/site-packages/optim.py
-lib/python2.2/site-packages/optim.pyc
-lib/python2.2/site-packages/pyvox.py
-lib/python2.2/site-packages/pyvox.pyc
-lib/python2.2/site-packages/pyvoxC.so
-lib/python2.2/site-packages/regis.py
-lib/python2.2/site-packages/regis.pyc
+%%PYTHON_SITELIBDIR%%/exim.so
+%%PYTHON_SITELIBDIR%%/optim.py
+%%PYTHON_SITELIBDIR%%/optim.pyc
+%%PYTHON_SITELIBDIR%%/pyvox.py
+%%PYTHON_SITELIBDIR%%/pyvox.pyc
+%%PYTHON_SITELIBDIR%%/pyvoxC.so
+%%PYTHON_SITELIBDIR%%/regis.py
+%%PYTHON_SITELIBDIR%%/regis.pyc
diff --git a/science/pyvox/Makefile b/science/pyvox/Makefile
index 94060f4f85c3..aafbea8594a4 100644
--- a/science/pyvox/Makefile
+++ b/science/pyvox/Makefile
@@ -15,6 +15,8 @@ EXTRACT_SUFX= .src.tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A set of software tools for medical image processing
+LIB_DEPENDS= Xm.2:${PORTSDIR}/x11-toolkits/lesstif
+
USE_PYTHON= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
@@ -27,6 +29,6 @@ MAN1= anonbblanz.1 bblimage.1 binnseg.1 conseg.1 decomment.1 dumpbblanz.1 \
MAN5= cdata.5 mri_data.5 param.5
post-patch:
- @${REINPLACE_CMD} -e "s|1\.5|2.2|g" ${WRKSRC}/configure ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e "s|python1\.5|${PYTHON_VERSION}|g" ${WRKSRC}/configure ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
diff --git a/science/pyvox/pkg-plist b/science/pyvox/pkg-plist
index 2d43acd1cffe..f7cc5766a10f 100644
--- a/science/pyvox/pkg-plist
+++ b/science/pyvox/pkg-plist
@@ -14,11 +14,11 @@ bin/usb2uc
bin/vibihist
bin/vihist
lib/libbbli.so
-lib/python2.2/site-packages/exim.so
-lib/python2.2/site-packages/optim.py
-lib/python2.2/site-packages/optim.pyc
-lib/python2.2/site-packages/pyvox.py
-lib/python2.2/site-packages/pyvox.pyc
-lib/python2.2/site-packages/pyvoxC.so
-lib/python2.2/site-packages/regis.py
-lib/python2.2/site-packages/regis.pyc
+%%PYTHON_SITELIBDIR%%/exim.so
+%%PYTHON_SITELIBDIR%%/optim.py
+%%PYTHON_SITELIBDIR%%/optim.pyc
+%%PYTHON_SITELIBDIR%%/pyvox.py
+%%PYTHON_SITELIBDIR%%/pyvox.pyc
+%%PYTHON_SITELIBDIR%%/pyvoxC.so
+%%PYTHON_SITELIBDIR%%/regis.py
+%%PYTHON_SITELIBDIR%%/regis.pyc