From ad36740ed7b0a0f61b87c00f5236315c58e95c4e Mon Sep 17 00:00:00 2001 From: Hye-Shik Chang Date: Sun, 17 Aug 2003 23:29:46 +0000 Subject: - Don't hardcode python version on Makefile and pkg-plist. - Add missing x11-toolkits/lesstif dependency. --- science/bblimage/Makefile | 4 +++- science/bblimage/pkg-plist | 16 ++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) (limited to 'science/bblimage') 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 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 -- cgit v1.2.3