1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Accommodate upgrade of major version of devel/gdcm from 2.0 to 2.2.

- Bump port revision.
This commit is contained in:
Stephen Montgomery-Smith 2012-01-02 17:06:34 +00:00
parent 1fc02cd6ad
commit d7c399420e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=288428

View File

@ -7,14 +7,13 @@
PORTNAME= octave-forge-dicom
PORTVERSION= 0.1.1
PORTREVISION= 1
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
#LIB_DEPENDS+= gdcmCommon:${PORTSDIR}/devel/gdcm
BUILD_DEPENDS+= ${LOCALBASE}/lib/libgdcmCommon.so:${PORTSDIR}/devel/gdcm
RUN_DEPENDS+= ${LOCALBASE}/lib/libgdcmCommon.so:${PORTSDIR}/devel/gdcm
LIB_DEPENDS+= gdcmCommon:${PORTSDIR}/devel/gdcm
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
@ -22,6 +21,13 @@ OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
GDCM_MAJ= 2.2
post-patch:
${REINPLACE_CMD} s/gdcm-2.0/gdcm-${GDCM_MAJ}/ \
${WRKSRC}/dicominfo.cpp ${WRKSRC}/dicomdict.cpp \
${WRKSRC}/dicomread.cpp ${WRKSRC}/dicomlookup.cpp \
${WRKSRC}/_gendicomdict.cpp ${WRKSRC}/dicomwrite.cpp
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk"