mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
a84c115a09
Approved by: portmgr (not really, but touches unstaged ports)
61 lines
1.6 KiB
Makefile
61 lines
1.6 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= amide
|
|
PORTVERSION= 1.0.5
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= madpilot@FreeBSD.org
|
|
COMMENT= Medical Imaging Data Examiner
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_CSTD= gnu89
|
|
MAKE_JOBS_UNSAFE= yes
|
|
USES= gettext gmake pkgconfig tar:tgz
|
|
USE_GNOME= gtk20 libgnomecanvas libgnomeui libxml2 gnomedocutils
|
|
INSTALLS_OMF= yes
|
|
|
|
OPTIONS_DEFINE= CODEC DCMTK GSL NLS VOLPACK XMEDCON
|
|
OPTIONS_SINGLE= CODEC
|
|
OPTIONS_SINGLE_CODEC= FFMPEG FAME
|
|
OPTIONS_DEFAULT= CODEC DCMTK FFMPEG GSL VOLPACK XMEDCON
|
|
|
|
CODEC_DESC= Enable codec support. Choose one of FAME or FFMPEG
|
|
DCMTK_DESC= Use dcmtk
|
|
FAME_DESC= Use libfame
|
|
FFMPEG_DESC= Use ffmpeg
|
|
GSL_DESC= Use gsl
|
|
VOLPACK_DESC= Use volpack
|
|
XMEDCON_DESC= Use xmedcon
|
|
|
|
OPTIONS_SUB= yes
|
|
DCMTK_CONFIGURE_ENABLE= libdcmdata
|
|
DCMTK_LIB_DEPENDS= libdcmdata.so:${PORTSDIR}/devel/dcmtk
|
|
FAME_CONFIGURE_ENABLE= libfame
|
|
FAME_LIB_DEPENDS= libfame.so:${PORTSDIR}/multimedia/libfame
|
|
FFMPEG_CONFIGURE_ENABLE= ffmpeg
|
|
FFMPEG_LIB_DEPENDS= libavcodec0.so:${PORTSDIR}/multimedia/ffmpeg0
|
|
GSL_CONFIGURE_ENABLE= libgsl
|
|
GSL_LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl
|
|
VOLPACK_CONFIGURE_ENABLE= libvolpack
|
|
VOLPACK_BUILD_DEPENDS= ${LOCALBASE}/lib/libvolpack.a:${PORTSDIR}/graphics/volpack
|
|
XMEDCON_CONFIGURE_ENABLE= libmdc
|
|
XMEDCON_LIB_DEPENDS= libmdc.so:${PORTSDIR}/graphics/xmedcon
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
post-patch:
|
|
@${TOUCH} ${WRKSRC}/aclocal.m4 ${WRKSRC}/Makefile.in \
|
|
${WRKSRC}/amide_config.h.in
|
|
@${REINPLACE_CMD} \
|
|
-e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
|
-e 's|libavcodec|libavcodec0|g' \
|
|
-e 's|libavutil|libavutil0|g' \
|
|
${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|