freebsd-ports/textproc/sed_inplace/Makefile
Maxim Sobolev 4fe6852b8f Due to popular demant into each port which might be inserted into dependency
list by bsd.port.mk insert anti foot-shooting device, which prevents
infinite fork loop when the user defines corresponding USE_XXX in global
make.conf, command line or environment.

Similar devices should probably be inserted into ports that might be inserted
into dependency list by others bsd.foo.mk files (bsd.ruby.mk, bsd.python.mk
and so on.)
2002-09-14 13:32:06 +00:00

34 lines
707 B
Makefile

# New ports collection makefile for: sed_inplace
# Date created: 17 June 2002
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= sed_inplace
PORTVERSION= 2002.06.28
CATEGORIES= textproc
MASTER_SITES= #
DISTFILES= #
MAINTAINER= sobomax@FreeBSD.org
NO_WRKSUBDIR= yes
MAKEFILE= ${PKGDIR}/src/Makefile
MAKE_ENV= PKGDIR="${PKGDIR}"
.ifdef USE_REINPLACE
.error You have `USE_REINPLACE' variable defined either in environment or in make(1) arguments. Please undefine and try again.
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 500033
#IGNORE= "is in the base system"
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sed_inplace ${PREFIX}/bin
.include <bsd.port.post.mk>