freebsd-ports/sysutils/lineak-defaultplugin/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

51 lines
1.3 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= 1
CATEGORIES= sysutils deskutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= lineak
DIST_SUBDIR= lineak
MAINTAINER= kay_lehmann@web.de
COMMENT= Default plugins for lineakd
LIB_DEPENDS= lineak.8:${PORTSDIR}/sysutils/lineakd
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_XLIB= 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
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= Configure fails to find lineakd
# lineakd is compiled with 3.4 on FreeBSD 4.x, so plugins must be too
# USE_GCC= 3.4
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
.include <bsd.port.post.mk>