freebsd-ports/sysutils/lineak-defaultplugin/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

43 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.8.3
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
USE_GMAKE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS+= --program-prefix=''
USE_REINPLACE= yes
MAN1= lineak_defaultplugin.1
PLIST_FILES= lib/lineakd/plugins/defaultplugin.so \
lib/lineakd/plugins/mediadetectplugin.so
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
# lineakd is compiled with 3.4 on FreeBSD 4.x, so plugins must be too
USE_GCC= 3.4
GNU_CONFIGURE= yes
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
.include <bsd.port.post.mk>