summaryrefslogblamecommitdiff
path: root/sysutils/lineak-xosdplugin/Makefile
blob: 598f0ed407e6d838e49c9fdcb00d7e26573e4a24 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                              
           
 

                                 
                 
                                  
                                                                      

                      
                                 

                                       



                                                   
 
                           
                   
                   
                                                       
                   

                             

                                      

                                   

                                                   
 
                   
           



                                                       
 
                      
# Created by: Kay Lehmann <kay_lehmann@web.de>
# $FreeBSD$

PORTNAME=	lineak-xosdplugin
PORTVERSION=	0.9
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

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

NO_STAGE=	yes
post-patch:
	@${REINPLACE_CMD} -e \
		's|"-O2 $$CXXFLAGS"|"$$CXXFLAGS"| ; \
		 s|echo aout|echo elf| ; \
		 /LDFLAGS/s|-ldl||' ${WRKSRC}/configure

.include <bsd.port.mk>