1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/sysutils/lineakd/Makefile
Muhammad Moinur Rahman 50a73e207e
sysutils/lineakd: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-26 07:01:42 +01:00

42 lines
1.0 KiB
Makefile

PORTNAME= lineakd
PORTVERSION= 0.9
PORTREVISION= 5
CATEGORIES= sysutils
MASTER_SITES= SF/lineak/${PORTNAME}/${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= lineak
MAINTAINER= ports@FreeBSD.org
COMMENT= Daemon which enables special keys on internet keyboards
WWW= https://lineak.sourceforge.net
USES= gmake libtool localbase xorg
USE_CXXSTD= c++98
USE_LDCONFIG= yes
USE_XORG= x11 xext xt
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= kde_cv_prog_cxx_fno_check_new=no
INSTALL_TARGET= install-strip
PORTDOCS= README TODO AUTHORS
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -e 's|-ldl||' \
${WRKSRC}/lineak/Makefile.in ${WRKSRC}/lineakd/Makefile.in
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/lineakd.conf.example ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>