blob: 4e7d69bab712eb3c7f2e0aedc2be78f940370eff (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# New ports collection makefile for: amide
# Date created: 8 Feb 2011
# Whom: Guido Falsi <mad@madpilot.net>
#
# $FreeBSD$
#
PORTNAME= amide
PORTVERSION= 1.0.1
CATEGORIES= graphics
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
MAINTAINER= madpilot@FreeBSD.org
COMMENT= Medical Imaging Data Examiner
LICENSE= GPLv2
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
USE_GETTEXT= yes
USE_GNOME= gtk20 libgnomecanvas libgnomeui libxml2
INSTALLS_OMF= yes
MAN1= amide.1
OPTIONS= XMEDCON "Use xmedcon" on \
DCMTK "Use dcmtk" on \
FFMPEG "Use ffmpeg" on \
GSL "Use gsl" on
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_XMEDCON)
LIB_DEPENDS+= mdc.2:${PORTSDIR}/graphics/xmedcon
CONFIGUE_ARGS+= --enable-libmdc
.else
CONFIGUE_ARGS+= --disable-libmdc
.endif
.if !defined(WITHOUT_DCMTK)
LIB_DEPENDS+= dcmdata.3:${PORTSDIR}/devel/dcmtk
CONFIGUE_ARGS+= --enable-libdcmdata
.else
CONFIGUE_ARGS+= --disable-libdcmdata
.endif
.if !defined(WITHOUT_FFMPEG)
LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg
CONFIGUE_ARGS+= --enable-ffmpeg
.else
CONFIGUE_ARGS+= --disable-ffmpeg
.endif
.if !defined(WITHOUT_GSL)
LIB_DEPENDS+= gsl.16:${PORTSDIR}/math/gsl
CONFIGUE_ARGS+= --enable-libgsl
.else
CONFIGUE_ARGS+= --disable-libgsl
.endif
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS='@comment '
.else
PLIST_SUB+= NLS=''
.endif
.include <bsd.port.post.mk>
|