2000-09-16 14:09:08 -04:00
|
|
|
# New ports collection makefile for: mkcmd
|
|
|
|
# Date created: 17 November 1999
|
|
|
|
# Whom: ajk@waterspout.com
|
1999-12-26 20:43:14 -05:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-11 17:30:15 -04:00
|
|
|
PORTNAME= mkcmd
|
2000-08-10 20:12:29 -04:00
|
|
|
PORTVERSION= 8.14
|
1999-12-26 20:43:14 -05:00
|
|
|
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
|
|
|
|
|
2000-09-16 14:09:08 -04:00
|
|
|
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
|
|
|
|
|
1999-12-26 20:43:14 -05:00
|
|
|
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
|
2000-09-16 14:09:08 -04:00
|
|
|
@(cd ${WRKSRC}/${d} && ${SETENV} ${MAKE_ENV} makeme \
|
1999-12-26 20:43:14 -05:00
|
|
|
${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>
|