/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Authors: Jeffrey Stedfast * * Copyright 2003 Ximian, Inc. (www.ximian.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. * */ #ifndef __EM_MIGRATE_H__ #define __EM_MIGRATE_H__ #include #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ int em_migrate (const char *evolution_dir, int major, int minor, int revision, CamelException *ex); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __EM_MIGRATE_H__ */ tw44/cgit/cgit.cgi/freebsd-ports-graphics/'>freebsd-ports-graphics
FreeBSD graphics obsolete development ports (https://github.com/freebsd/freebsd-ports-graphics)
aboutsummaryrefslogtreecommitdiffstats
blob: 98d40e45d7bb948188fd1821fbfc77c3eddd849f (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
# Created by: Tilman Linneweh <arved@FreeBSD.org>
# $FreeBSD$

PORTNAME=   swhplugins
PORTVERSION=    0.4.15
PORTREVISION=   6
CATEGORIES= audio
MASTER_SITES=   http://plugin.org.uk/releases/${PORTVERSION}/
DISTNAME=   swh-plugins-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Steve Harris' huge Collection of LADSPA Plugins

BUILD_DEPENDS=  ${LOCALBASE}/include/ladspa.h:audio/ladspa \
        ${LOCALBASE}/include/fftw3.h:math/fftw3
LIB_DEPENDS=    libfftw3f.so:math/fftw3-float

# includes assembler code
ONLY_FOR_ARCHS= i386 amd64

USES=       gmake libtool pkgconfig
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
USE_LDCONFIG=   yes

CFLAGS+=    -fPIC -DPIC

OPTIONS_DEFINE= NLS 3DNOW SSE
OPTIONS_SUB=    yes
3DNOW_DESC= use 3DNow! instructions
SSE_DESC=   use SSE instructions

NLS_USES=   gettext
NLS_LDFLAGS=    -lintl
NLS_CONFIGURE_ENABLE=   nls

3DNOW_CONFIGURE_ENABLE= 3dnow

SSE_CONFIGURE_ENABLE=   sse

post-patch:
    @${REINPLACE_CMD} -e \
        's|="$$CFLAGS -Wall .*"|="$$CFLAGS"|g' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e \
        's|<stdint\.h>|<inttypes.h>|g' ${WRKSRC}/ladspa-util.h

.include <bsd.port.mk>