Support stage

USE_GMAKE->USES=gmake
strip binaries
This commit is contained in:
Baptiste Daroussin 2013-11-15 22:31:37 +00:00
parent 4ee0cb5d32
commit b6dba1bbe2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333946
2 changed files with 6 additions and 8 deletions

View File

@ -9,23 +9,19 @@ MASTER_SITES= ftp://oss.sgi.com/projects/fam/download/
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A file alteration monitor
COMMENT= File alteration monitor
CFLAGS+= -Wno-deprecated
USES= gmake
USE_AUTOTOOLS= aclocal automake autoconf libtool
AUTOMAKE_ARGS= -c -a
USE_GMAKE= yes
USE_LDCONFIG= yes
ACLOCAL_ARGS= -I "${ACLOCAL_DIR}" -I ${LOCALBASE}/share/aclocal
SUB_FILES= pkg-message
MAN1= fam.1m
MAN3= fam.3x
#CONFLICTS_INSTALL= gamin-[0-9]*
CONFLICTS= gamin-[0-9]*
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s/-lstdc++//g" ${WRKSRC}/Makefile.am
@ -37,6 +33,6 @@ pre-configure:
@${CP} ${FILESDIR}/mntent* ${WRKSRC}/fam
post-install:
@${CAT} ${PKGMESSAGE}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libfam.so.0
.include <bsd.port.mk>

View File

@ -5,5 +5,7 @@ lib/libfam.a
lib/libfam.la
lib/libfam.so
lib/libfam.so.0
man/man1/fam.1m.gz
man/man3/fam.3x.gz
@comment For non-standard prefixes
@rmtry libdata/ldconfig/fam