freebsd-ports/sysutils/lineak-xosdplugin/Makefile

41 lines
917 B
Makefile
Raw Normal View History

# Created by: Kay Lehmann <kay_lehmann@web.de>
# $FreeBSD$
PORTNAME= lineak-xosdplugin
PORTVERSION= 0.9
2012-06-01 07:26:28 +02:00
PORTREVISION= 7
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= xosd:${PORTSDIR}/misc/xosd \
lineak:${PORTSDIR}/sysutils/lineakd
USE_XORG= x11 xext xt
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_xosd_config_script="${TRUE}"
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
CFLAGS+= -fPIC
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= lineak_xosdplugin.1
PLIST_FILES= lib/lineakd/plugins/xosdplugin.la \
lib/lineakd/plugins/xosdplugin.so
post-patch:
@${REINPLACE_CMD} -e \
's|"-O2 $$CXXFLAGS"|"$$CXXFLAGS"| ; \
s|echo aout|echo elf| ; \
/LDFLAGS/s|-ldl||' ${WRKSRC}/configure
.include <bsd.port.mk>