1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/devel/mkcmd/Makefile
Ade Lovett b5e4b159e2 Support CFLAGS/PREFIX properly
PR:		20650
Submitted by:	Ports Fury
2000-09-16 18:09:08 +00:00

43 lines
1015 B
Makefile

# New ports collection makefile for: mkcmd
# Date created: 17 November 1999
# Whom: ajk@waterspout.com
#
# $FreeBSD$
#
PORTNAME= mkcmd
PORTVERSION= 8.14
CATEGORIES= devel
MASTER_SITES= ftp://ftp.physics.purdue.edu/pub/pundits/
EXTRACT_SUFX= .tgz
MAINTAINER= ajk@waterspout.com
BUILD_DEPENDS= makeme:${PORTSDIR}/devel/msrc0
MAKE_FLAGS=
MAKEFILE=
MAN1= mkcmd.1
MAN5= mkcmd.5
post-patch:
.for f in bin/mkcmd/machine.h bin/mkcmd/mkcmd.man lib/mkcmd/mkcmd.man
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${f}
.endfor
do-build:
@(cd ${WRKSRC}/bin/mkcmd && ${SETENV} ${MAKE_ENV} makeme \
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
do-install:
.for d in bin/mkcmd lib/mkcmd
@(cd ${WRKSRC}/${d} && ${SETENV} ${MAKE_ENV} makeme \
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
.endfor
${INSTALL_MAN} ${WRKSRC}/bin/mkcmd/mkcmd.man \
${PREFIX}/man/man1/mkcmd.1
${INSTALL_MAN} ${WRKSRC}/lib/mkcmd/mkcmd.man \
${PREFIX}/man/man5/mkcmd.5
.include <bsd.port.mk>