Lines 1-9
Link Here
|
1 |
# New ports collection makefile for: lineak-xosdplugin |
1 |
# Created by: Kay Lehmann <kay_lehmann@web.de> |
2 |
# Date created: 2004-12-29 |
|
|
3 |
# Whom: Kay Lehmann <kay_lehmann@web.de> |
4 |
# |
5 |
# $FreeBSD: head/sysutils/lineak-xosdplugin/Makefile 300897 2012-07-14 14:29:18Z beat $ |
2 |
# $FreeBSD: head/sysutils/lineak-xosdplugin/Makefile 300897 2012-07-14 14:29:18Z beat $ |
6 |
# |
|
|
7 |
|
3 |
|
8 |
PORTNAME= lineak-xosdplugin |
4 |
PORTNAME= lineak-xosdplugin |
9 |
PORTVERSION= 0.9 |
5 |
PORTVERSION= 0.9 |
Lines 15-39
Link Here
|
15 |
MAINTAINER= ports@FreeBSD.org |
11 |
MAINTAINER= ports@FreeBSD.org |
16 |
COMMENT= Xosd-plugin for lineakd |
12 |
COMMENT= Xosd-plugin for lineakd |
17 |
|
13 |
|
18 |
LIB_DEPENDS= lineak.8:${PORTSDIR}/sysutils/lineakd \ |
14 |
LICENSE= GPLv2 |
19 |
xosd.4:${PORTSDIR}/misc/xosd |
15 |
|
|
|
16 |
LIB_DEPENDS= xosd:${PORTSDIR}/misc/xosd \ |
17 |
lineak:${PORTSDIR}/sysutils/lineakd |
20 |
|
18 |
|
21 |
USE_GMAKE= yes |
|
|
22 |
USE_XORG= x11 xext xt |
19 |
USE_XORG= x11 xext xt |
23 |
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} |
20 |
USE_GMAKE= yes |
24 |
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} |
|
|
25 |
CONFIGURE_ARGS= --program-prefix='' |
26 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
|
|
22 |
CONFIGURE_ENV= ac_cv_path_xosd_config_script="${TRUE}" |
27 |
USE_LDCONFIG= yes |
23 |
USE_LDCONFIG= yes |
|
|
24 |
MAKE_JOBS_SAFE= yes |
25 |
|
26 |
CFLAGS+= -fPIC |
27 |
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} |
28 |
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} |
28 |
|
29 |
|
29 |
MAN1= lineak_xosdplugin.1 |
30 |
MAN1= lineak_xosdplugin.1 |
30 |
MAN_COMPRESSED= yes |
|
|
31 |
PLIST_FILES= lib/lineakd/plugins/xosdplugin.la \ |
31 |
PLIST_FILES= lib/lineakd/plugins/xosdplugin.la \ |
32 |
lib/lineakd/plugins/xosdplugin.so |
32 |
lib/lineakd/plugins/xosdplugin.so |
33 |
|
33 |
|
34 |
post-patch: |
34 |
post-patch: |
35 |
@${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/configure |
35 |
@${REINPLACE_CMD} -e \ |
36 |
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure |
36 |
's|"-O2 $$CXXFLAGS"|"$$CXXFLAGS"| ; \ |
37 |
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure |
37 |
s|echo aout|echo elf| ; \ |
|
|
38 |
/LDFLAGS/s|-ldl||' ${WRKSRC}/configure |
38 |
|
39 |
|
39 |
.include <bsd.port.mk> |
40 |
.include <bsd.port.mk> |