1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/security/yafic/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

54 lines
1.2 KiB
Makefile

# New ports collection makefile for: yafic
# Date created: 20 August 2001
# Whom: allan@saddi.com
#
# $FreeBSD$
#
PORTNAME= yafic
PORTVERSION= 1.2.2
CATEGORIES= security
MASTER_SITES= SF
MAINTAINER= allan@saddi.com
COMMENT= Yet Another File Integrity Checker, similar to Tripwire
GNU_CONFIGURE= yes
USE_GMAKE= yes
LDFLAGS+= -static
.if defined(WITHOUT_OPENSSL)
CONFIGURE_ARGS= --disable-crypto
PLIST_SUB+= CRYPTO="@comment "
.else
PLIST_SUB+= CRYPTO=""
.endif
MAN1= yafic.1
.if !defined(WITHOUT_OPENSSL)
MAN1+= yafic-sign.1
MLINKS= yafic-sign.1 yafic-check.1
.endif
MAN5= yafic.conf.5
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/yafic ${PREFIX}/bin
.if !defined(WITHOUT_OPENSSL)
${INSTALL_PROGRAM} ${WRKSRC}/yafic-sign ${PREFIX}/bin
${LN} -f ${PREFIX}/bin/yafic-sign ${PREFIX}/bin/yafic-check
.endif
${INSTALL_MAN} ${WRKSRC}/yafic.1 ${PREFIX}/man/man1
.if !defined(WITHOUT_OPENSSL)
${INSTALL_MAN} ${WRKSRC}/yafic-sign.1 ${PREFIX}/man/man1
.endif
${INSTALL_MAN} ${WRKSRC}/yafic.conf.5 ${PREFIX}/man/man5
post-install:
@${MKDIR} ${PREFIX}/share/examples/yafic
@${CP} ${FILESDIR}/yafic.conf.sample ${EXAMPLESDIR}
@${ECHO}
@${SED} -e "s%@@PREFIX@@%${PREFIX}%g" ${PKGMESSAGE}
@${ECHO}
.include <bsd.port.mk>