summaryrefslogtreecommitdiffstats
path: root/sysutils/lineakd/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2003-11-19 15:27:29 +0000
committerpav <pav@FreeBSD.org>2003-11-19 15:27:29 +0000
commitea36096cff608304b6a5e3e563716790d1fc2a16 (patch)
tree5df971238b1e58cfaf8fbaa2f18310a29bd0dd98 /sysutils/lineakd/Makefile
parent4484c8375cde57ce3bf8510c489dacabb339584a (diff)
downloadFreeBSD-ports-ea36096cff608304b6a5e3e563716790d1fc2a16.zip
FreeBSD-ports-ea36096cff608304b6a5e3e563716790d1fc2a16.tar.gz
- Update to 0.7.2
PR: ports/59212 Submitted by: Kay Lehmann <kay_lehmann@web.de> (maintainer) Approved by: adamw (mentor)
Diffstat (limited to 'sysutils/lineakd/Makefile')
-rw-r--r--sysutils/lineakd/Makefile35
1 files changed, 23 insertions, 12 deletions
diff --git a/sysutils/lineakd/Makefile b/sysutils/lineakd/Makefile
index 3bb56f9..614416d 100644
--- a/sysutils/lineakd/Makefile
+++ b/sysutils/lineakd/Makefile
@@ -6,30 +6,41 @@
#
PORTNAME= lineakd
-PORTVERSION= 0.4.p3
+PORTVERSION= 0.7.2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=lineak
-DISTNAME= ${PORTNAME}-0.4pre3
MAINTAINER= kay_lehmann@web.de
COMMENT= Lineakd is a daemon which enables special keys on internet keyboards
-LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext
-
-USE_BISON= yes
USE_GMAKE= yes
USE_XLIB= yes
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="-L${X11BASE}/lib ${PTHREAD_LIBS}"
+USE_REINPLACE= yes
+
+.if defined(WITHOUT_XOSD)
+CONFIGURE_ARGS+= --with-xosd=no
+.else
+LIB_DEPENDS+= xosd.4:${PORTSDIR}/misc/xosd
+.endif
-CFLAGS+= -I${X11BASE}/include
-
-.include <bsd.port.pre.mk>
+PORTDOCS= README TODO AUTHORS
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-lineakd.c-4
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread||' ${WRKSRC}/lineakd/Makefile.in
+ @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
-.if ${OSVERSION} >= 500000
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-lineakd.c-5
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for i in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
.endif
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/lineakd.conf.example ${EXAMPLESDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud