diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2003-08-17 23:29:46 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2003-08-17 23:29:46 +0000 |
commit | ad36740ed7b0a0f61b87c00f5236315c58e95c4e (patch) | |
tree | 9bd0cbd5e4256e21d93fb0f156c724dc3182c518 /science/bblimage | |
parent | Proclaim this as an X11 appl. (diff) |
- 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 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 |