freebsd-ports/sysutils/lineak-xosdplugin/Makefile
Rong-En Fan 2a779861c3 - Respect X11BASE
PR:		ports/105965
Submitted by:	rafan
Approved by:	portmgr (linimon)
2006-12-06 13:45:11 +00:00

45 lines
1 KiB
Makefile

# New ports collection makefile for: lineak-xosdplugin
# Date created: 2004-12-29
# Whom: Kay Lehmann <kay_lehmann@web.de>
#
# $FreeBSD$
#
PORTNAME= lineak-xosdplugin
PORTVERSION= 0.9
CATEGORIES= sysutils deskutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=lineak
DIST_SUBDIR= lineak
MAINTAINER= kay_lehmann@web.de
COMMENT= Xosd-plugin for lineakd
LIB_DEPENDS= lineak.8:${PORTSDIR}/sysutils/lineakd \
xosd.4:${PORTSDIR}/misc/xosd
USE_GMAKE= yes
USE_XLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS= --program-prefix=''
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
MAN1= lineak_xosdplugin.1
MAN_COMPRESSED= yes
PLIST_FILES= lib/lineakd/plugins/xosdplugin.la \
lib/lineakd/plugins/xosdplugin.so
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= Configure fails to find lineakd
#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>