freebsd-ports/sysutils/lineak-xosdplugin/Makefile
Dmitry Marakasov 4ed5d621eb - Convert misc/xosd and dependent ports which need it (deskutils/xneur, polish/ekg2, polish/gnugadu2, sysutils/lineak-xosdplugin) to USES=libtool, drop .la files
- Since xosd shlib version has changed, bump all ports which depend on it
- Stagify deskutils/xneur
- Convert USE_BZIP2 to USES
- Use new LIB_DEPENDS syntax

Approved by:	portmgr blanket
2014-05-27 11:17:41 +00:00

38 lines
885 B
Makefile

# Created by: Kay Lehmann <kay_lehmann@web.de>
# $FreeBSD$
PORTNAME= lineak-xosdplugin
PORTVERSION= 0.9
PORTREVISION= 8
CATEGORIES= sysutils deskutils
MASTER_SITES= SF/lineak/lineak_xosdplugin/${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= lineak
MAINTAINER= ports@FreeBSD.org
COMMENT= Xosd-plugin for lineakd
LICENSE= GPLv2
LIB_DEPENDS= libxosd.so:${PORTSDIR}/misc/xosd \
liblineak.so:${PORTSDIR}/sysutils/lineakd
USE_XORG= x11 xext xt
USES= gmake libtool
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_xosd_config_script="${TRUE}"
USE_LDCONFIG= yes
CFLAGS+= -fPIC
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= lib/lineakd/plugins/xosdplugin.so \
man/man1/lineak_xosdplugin.1.gz
post-patch:
@${REINPLACE_CMD} -e \
's|"-O2 $$CXXFLAGS"|"$$CXXFLAGS"| ; \
s|echo aout|echo elf| ; \
/LDFLAGS/s|-ldl||' ${WRKSRC}/configure
.include <bsd.port.mk>