mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
aff42c7199
most cases, the failure mode is the same. Also, mark them broken on mips when necessary. While here, pet portlint. Approved by: portmgr (tier-2 blanket)
41 lines
1.3 KiB
Makefile
41 lines
1.3 KiB
Makefile
# Created by: mi@aldan.algebra.com
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= incron
|
|
DISTVERSION= 2017-11-13
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= joh.hendriks@gmail.com
|
|
COMMENT= Handle filesystem-events the way cron handles time ones
|
|
|
|
LICENSE= GPLv2 LGPL21 MIT
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE-GPL
|
|
LICENSE_FILE_LGPL21= ${WRKSRC}/LICENSE-LGPL
|
|
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-X11
|
|
|
|
BROKEN_mips= fails to compile: usertable.cpp:440: #pragma GCC diagnostic not allowed inside functions
|
|
BROKEN_mips64= fails to compile: usertable.cpp:440: #pragma GCC diagnostic not allowed inside functions
|
|
BROKEN_powerpc64= fails to compile: usertable.cpp:440: #pragma GCC diagnostic not allowed inside functions
|
|
|
|
LIB_DEPENDS= libinotify.so:devel/libinotify
|
|
|
|
USE_GITHUB= indeed
|
|
GH_ACCOUNT= ar-
|
|
GH_TAGNAME= 81421d3a8bde0989d7e167d8a814d5232896c930
|
|
CPPFLAGS+= -I${LOCALBASE}/include -D__NR_inotify_init
|
|
LDFLAGS+= -L${LOCALBASE}/lib -linotify
|
|
MAKE_ARGS= PREFIX="${PREFIX}" USER=${UID} \
|
|
DOCDIR="${PREFIX}/etc" \
|
|
MANPATH=${MANPREFIX}/man
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's,/etc/incron,${PREFIX}/etc/incron,' \
|
|
${WRKSRC}/*conf* ${WRKSRC}/Makefile ${WRKSRC}/*.[158h] \
|
|
${WRKSRC}/*.cpp
|
|
${REINPLACE_CMD} -e '/INITDIR/d' ${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.mk>
|