aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/lineak-defaultplugin/Makefile
blob: 1543f8e5b70c43be89a056ad834c80efa04ad87d (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
# New ports collection makefile for:    lineak-defaultplugin
# Date created:     2004-12-29
# Whom:         Kay Lehmann <kay_lehmann@web.de>
#
# $FreeBSD$
#

PORTNAME=   lineak-defaultplugin
PORTVERSION=    0.9
PORTREVISION=   2
CATEGORIES= sysutils deskutils
MASTER_SITES=   SF/lineak/lineak_defaultplugin/${PORTNAME}-${PORTVERSION}
DIST_SUBDIR=    lineak

MAINTAINER= ports@FreeBSD.org
COMMENT=    Default plugins for lineakd

LIB_DEPENDS=    lineak.8:${PORTSDIR}/sysutils/lineakd

USE_AUTOTOOLS=  libtool:22
GNU_CONFIGURE=  yes
USE_XORG=       x11 xext xt xtst xfixes
USE_GMAKE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
        LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS+=    --program-prefix=''

MAN1=       lineak_defaultplugin.1
MAN_COMPRESSED= yes
PLIST_FILES=    lib/lineakd/plugins/defaultplugin.a \
        lib/lineakd/plugins/defaultplugin.la \
        lib/lineakd/plugins/defaultplugin.so \
        lib/lineakd/plugins/mediadetectplugin.a \
        lib/lineakd/plugins/mediadetectplugin.la \
        lib/lineakd/plugins/mediadetectplugin.so \
        etc/media-detect.conf

post-patch:
    @${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure

.include <bsd.port.mk>