mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
c7beea50eb
appreciate all the help in the past.
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# New ports collection makefile for: lineakd
|
|
# Date created: 03 June 2002
|
|
# Whom: Kay Lehmann
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lineakd
|
|
PORTVERSION= 0.9
|
|
PORTREVISION= 2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR=lineak
|
|
DIST_SUBDIR= lineak
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Lineakd is a daemon which enables special keys on internet keyboards
|
|
|
|
USE_GMAKE= yes
|
|
USE_XORG= x11 xext xt
|
|
USE_AUTOTOOLS= libtool:15
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
|
USE_LDCONFIG= yes
|
|
|
|
CONFIGURE_ARGS+=--program-prefix=''
|
|
|
|
PORTDOCS= README TODO AUTHORS
|
|
|
|
MAN1= lineakd.1
|
|
#MANCOMPRESSED= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-lpthread||' \
|
|
${WRKSRC}/lineak/Makefile.in ${WRKSRC}/lineakd/Makefile.in
|
|
@${REINPLACE_CMD} -e 's|-ldl||' \
|
|
${WRKSRC}/lineak/Makefile.in ${WRKSRC}/lineakd/Makefile.in
|
|
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
|
|
|
|
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.mk>
|