freebsd-ports/sysutils/lineak-defaultplugin/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

42 lines
1.1 KiB
Makefile

# 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
GNU_CONFIGURE= yes
USE_XORG= x11 xext xt xtst xfixes
USE_GMAKE= yes
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>