1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/sysutils/procmap/Makefile
Satoshi Asami f3aec7e67f Fix build problem (read-only ${PORTSDIR}) by adding
MAKE_ENV=MAKEOBJDIRPREFIX=${WRKDIR} and a pre-build target to do a
"make obj".  That obsoletes the pre-clean target since the generated
files all go into ${WRKDIR} and there's nothing to clean on the source
directory.

Also, fix several minor bogons.  NO_CHECKSUM is a user variable, and
never should be set in a port Makefile.  NO_WRKSUBDIR is not necessary
because WRKSRC is set explicitly.  I don't know what the empty
do-fetch is doing there.
2000-04-07 23:19:11 +00:00

23 lines
464 B
Makefile

# New ports collection makefile for: procmap
# Version required: (self contained)
# Date created: 22 March 2000
# Whom: Jason Evans <jasone@freebsd.org>
#
# $FreeBSD$
#
DISTNAME= procmap-1.0
CATEGORIES= sysutils
DISTFILES= #empty
MAINTAINER= jasone@freebsd.org
# setting MAKEOBJDIR doesn't work for some reason
MAKE_ENV= MAKEOBJDIRPREFIX=${WRKDIR}
WRKSRC= ${.CURDIR}/src
pre-build:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} obj
.include <bsd.port.mk>