diff options
author | perky <perky@FreeBSD.org> | 2003-08-17 23:29:46 +0000 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2003-08-17 23:29:46 +0000 |
commit | 06ee0d1dd085e0753c4cc3640968eae6ed125a23 (patch) | |
tree | 8ef4c841defe425c58032791edaab8e209bcb300 /science/bblimage | |
parent | e355aa759929aa3d6b4543b5aa7b50503b33fee5 (diff) | |
download | FreeBSD-ports-06ee0d1dd085e0753c4cc3640968eae6ed125a23.zip FreeBSD-ports-06ee0d1dd085e0753c4cc3640968eae6ed125a23.tar.gz |
- Don't hardcode python version on Makefile and pkg-plist.
- Add missing x11-toolkits/lesstif dependency.
Diffstat (limited to 'science/bblimage')
-rw-r--r-- | science/bblimage/Makefile | 4 | ||||
-rw-r--r-- | science/bblimage/pkg-plist | 16 |
2 files changed, 11 insertions, 9 deletions
diff --git a/science/bblimage/Makefile b/science/bblimage/Makefile index 94060f4..aafbea8 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 2d43acd..f7cc576 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 |