2013-09-04 18:51:12 +02:00
|
|
|
# Created by: Jeremy Norris <ishmael27@home.com>
|
2001-03-31 04:45:55 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2006-08-16 14:32:26 +02:00
|
|
|
PORTNAME= fam
|
|
|
|
PORTVERSION= 2.6.10
|
2014-01-03 02:45:45 +01:00
|
|
|
PORTREVISION= 5
|
2006-08-16 14:32:26 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ftp://oss.sgi.com/projects/fam/download/
|
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
2001-03-31 04:45:55 +02:00
|
|
|
|
2011-10-24 05:33:20 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-11-15 23:31:37 +01:00
|
|
|
COMMENT= File alteration monitor
|
2001-03-31 04:45:55 +02:00
|
|
|
|
2006-08-12 22:25:09 +02:00
|
|
|
CFLAGS+= -Wno-deprecated
|
2002-09-10 23:35:50 +02:00
|
|
|
|
2013-11-15 23:31:37 +01:00
|
|
|
USES= gmake
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= aclocal automake autoconf libtool
|
2006-08-12 22:25:09 +02:00
|
|
|
AUTOMAKE_ARGS= -c -a
|
|
|
|
USE_LDCONFIG= yes
|
2006-08-16 14:32:26 +02:00
|
|
|
ACLOCAL_ARGS= -I "${ACLOCAL_DIR}" -I ${LOCALBASE}/share/aclocal
|
2006-08-12 22:25:09 +02:00
|
|
|
SUB_FILES= pkg-message
|
2001-03-31 04:45:55 +02:00
|
|
|
|
2013-11-15 23:31:37 +01:00
|
|
|
#CONFLICTS_INSTALL= gamin-[0-9]*
|
2001-03-31 04:45:55 +02:00
|
|
|
|
2013-09-04 18:51:12 +02:00
|
|
|
post-patch:
|
2014-01-03 02:45:45 +01:00
|
|
|
${REINPLACE_CMD} -e "s/-lstdc++//g" ${WRKSRC}/libfam/Makefile.am
|
2013-09-04 18:51:12 +02:00
|
|
|
|
2002-06-09 10:29:40 +02:00
|
|
|
pre-configure:
|
2014-01-03 02:45:45 +01:00
|
|
|
${RM} -fr ${WRKSRC}/util
|
|
|
|
${MV} ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.am.orig
|
|
|
|
${SED} -e s/util// -e /SUBDIRS/q \
|
2002-06-09 10:29:40 +02:00
|
|
|
<${WRKSRC}/Makefile.am.orig >${WRKSRC}/Makefile.am
|
2014-01-03 02:45:45 +01:00
|
|
|
${CP} ${FILESDIR}/mntent* ${WRKSRC}/fam
|
2002-06-09 10:29:40 +02:00
|
|
|
|
2001-03-31 04:45:55 +02:00
|
|
|
post-install:
|
2013-11-15 23:31:37 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libfam.so.0
|
2001-03-31 04:45:55 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|