mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-26 21:17:40 +00:00
36062ffe27
Respect CFLAGS by patching them into the program Makefile. No longer override the do-build target, let make(1) do its thing. No PORTREVISION bump for the strcasestr() fix - this port simply did not build at all on systems of olde :( Reported by: <root@lab.simerson.net>
28 lines
595 B
Makefile
28 lines
595 B
Makefile
# New ports collection makefile for: autorespond
|
|
# Date created: 24 Jan 2000
|
|
# Whom: Neil Blakey-Milner <nbm@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= autorespond
|
|
PORTVERSION= 2.0.2
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.inter7.com/devel/
|
|
|
|
MAINTAINER= roam@FreeBSD.org
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 440003 || ${OSVERSION} >= 500000 && ${OSVERSION} < 500027
|
|
CFLAGS+= -DNEED_STRCASESTR
|
|
.endif
|
|
|
|
post-patch:
|
|
${PERL} -pi.fbsd -e "s/^(DEFS =.*)/\1 ${CFLAGS}/" ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/autorespond ${PREFIX}/bin/
|
|
|
|
.include <bsd.port.post.mk>
|