2000-09-16 20:09:08 +02:00
|
|
|
# New ports collection makefile for: mkcmd
|
|
|
|
# Date created: 17 November 1999
|
|
|
|
# Whom: ajk@waterspout.com
|
1999-12-27 02:43:14 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-11 23:30:15 +02:00
|
|
|
PORTNAME= mkcmd
|
2000-08-11 02:12:29 +02:00
|
|
|
PORTVERSION= 8.14
|
1999-12-27 02:43:14 +01:00
|
|
|
CATEGORIES= devel
|
2003-12-21 06:51:40 +01:00
|
|
|
MASTER_SITES= ftp://archive.progeny.com/pundits/ \
|
|
|
|
ftp://ftp.physics.purdue.edu/pub/pundits/
|
1999-12-27 02:43:14 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2003-06-21 00:34:19 +02:00
|
|
|
MAINTAINER= petef@FreeBSD.org
|
2003-02-21 12:23:04 +01:00
|
|
|
COMMENT= Command-line parser and manual page generator
|
1999-12-27 02:43:14 +01:00
|
|
|
|
|
|
|
BUILD_DEPENDS= makeme:${PORTSDIR}/devel/msrc0
|
|
|
|
|
|
|
|
MAKE_FLAGS=
|
|
|
|
MAKEFILE=
|
2002-11-04 02:15:06 +01:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
|
1999-12-27 02:43:14 +01:00
|
|
|
MAN1= mkcmd.1
|
|
|
|
MAN5= mkcmd.5
|
|
|
|
|
2000-09-16 20:09:08 +02:00
|
|
|
post-patch:
|
|
|
|
.for f in bin/mkcmd/machine.h bin/mkcmd/mkcmd.man lib/mkcmd/mkcmd.man
|
2002-11-04 02:15:06 +01:00
|
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${f}
|
2000-09-16 20:09:08 +02:00
|
|
|
.endfor
|
|
|
|
|
1999-12-27 02:43:14 +01: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 20:09:08 +02:00
|
|
|
@(cd ${WRKSRC}/${d} && ${SETENV} ${MAKE_ENV} makeme \
|
1999-12-27 02:43:14 +01: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>
|