1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/security/smtpmap/Makefile
Yen-Ming Lee 992f727a2a - add USE_GCC=2.95 and unbreak this port
- remove redundant statement

PR:		72127
Submitted by:	leeym
Approved by:	maintainer timeout
2004-10-13 01:49:45 +00:00

48 lines
1.1 KiB
Makefile

# New ports collection makefile for: smtpmap
# Date created: 26 decembre 2002
# Whom: Hubert Tournier <hubert@frbsd.org>
#
# $FreeBSD$
#
PORTNAME= smtpmap
PORTVERSION= 0.8
PORTREVISION= 3
CATEGORIES= security mail net
MASTER_SITES= http://plasmahh.hopto.org/
MAINTAINER= hubert@frbsd.org
COMMENT= An SMTP software identifier
.if !exists(/usr/include/getopt.h)
MAKE_ENV= LIBS="${LDFLAGS}" INC="${CPPFLAGS}"
.endif
USE_GETOPT_LONG=yes
USE_BZIP2= yes
USE_REINPLACE= yes
USE_GMAKE= yes
USE_GCC= 2.95
MAKEFILE= makefile
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126
BROKEN= "Does not compile on FreeBSD >= 5.x"
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
-e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
-e 's|g++|${CXX}|g' ${WRKSRC}/makefile.conf
@${REINPLACE_CMD} -e 's|-j 5||g' ${WRKSRC}/makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/smtpmap ${PREFIX}/bin
${INSTALL} -d ${DATADIR}
.for file in fingerprints-conf fingerprints-return fingerprints-rfc
${INSTALL_DATA} ${WRKSRC}/share/${file} ${DATADIR}
.endfor
.include <bsd.port.post.mk>