1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/devel/fam/Makefile
2021-04-06 16:31:07 +02:00

40 lines
926 B
Makefile

# Created by: Jeremy Norris <ishmael27@home.com>
PORTNAME= fam
PORTVERSION= 2.6.10
PORTREVISION= 9
CATEGORIES= devel
MASTER_SITES= ftp://oss.sgi.com/projects/fam/download/
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= File alteration monitor
LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
LICENSE_FILE_GPLv2= ${WRKSRC}/fam/COPYING
LICENSE_FILE_LGPL21= ${WRKSRC}/libfam/COPYING
CFLAGS+= -Wno-deprecated
USES= autoreconf cpe gmake libtool
CPE_VENDOR= sgi
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
GNU_CONFIGURE= yes
SUB_FILES= pkg-message
#CONFLICTS_INSTALL= gamin-[0-9]*
post-patch:
${REINPLACE_CMD} -e "s/-lstdc++//g" ${WRKSRC}/libfam/Makefile.am
pre-configure:
${RM} -r ${WRKSRC}/util
${MV} ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.am.orig
${SED} -e s/util// -e /SUBDIRS/q \
<${WRKSRC}/Makefile.am.orig >${WRKSRC}/Makefile.am
${CP} ${FILESDIR}/mntent* ${WRKSRC}/fam
.include <bsd.port.mk>