mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
f2ab442843
The referenced change made NO_INSTALLLIB, NO_MAN, and NO_PROFILE into errors causing these ports that declare them and use the FreeBSD make infrastructure as part of their build to fail. When the offending variables occur in a BSD Makefile, NO_MAN becomes MAN= and NO_INSTALLLIB and NO_PROFILE become MK_INSTALLLIB=no and MK_PROFILE=no respectively. When declared in the environment they become WITHOUT_<FOO>.
26 lines
501 B
Makefile
26 lines
501 B
Makefile
# Created by: Roman Bogorodskiy <novel@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pidof
|
|
PORTVERSION= 20050501
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= LOCAL/novel
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
MAINTAINER= novel@FreeBSD.org
|
|
COMMENT= Tool which prints PID of given process name
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
CONFLICTS= psmisc-1*
|
|
|
|
PLIST_FILES= bin/pidof
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's/NOMAN.*/MAN=/ ; /LINKS/d' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pidof ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|