1998-11-15 22:54:25 +00:00
|
|
|
# New ports collection makefile for: pmake
|
|
|
|
# Date created: 12 November 1998
|
|
|
|
# Whom: steve
|
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1998-11-15 22:54:25 +00:00
|
|
|
#
|
|
|
|
|
2000-04-11 21:30:15 +00:00
|
|
|
PORTNAME= pmake
|
2003-12-16 01:52:46 +00:00
|
|
|
PORTVERSION= 2.1.36
|
2002-11-24 13:41:11 +00:00
|
|
|
CATEGORIES= devel parallel
|
2001-04-14 21:09:23 +00:00
|
|
|
MASTER_SITES= ftp://ftp.icsi.berkeley.edu/pub/ai/stolcke/software/ \
|
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= steve
|
1998-11-15 22:54:25 +00:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
|
|
|
MAINTAINER= steve@freebsd.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= The parallel make(1) program from the Sprite project
|
1998-11-15 22:54:25 +00:00
|
|
|
|
|
|
|
RESTRICTED= "Non-commercial use only"
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/pmake
|
|
|
|
MAKEFILE= makefile
|
|
|
|
ALL_TARGET= pmake
|
|
|
|
PMAKE_ENV= ${MAKE_ENV} MAKE=${PREFIX}/bin/pmake
|
|
|
|
MAN1= pmake.1
|
|
|
|
|
2004-11-11 16:52:58 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} '/memmove/d' ${WRKSRC}/lib/include/sprite.h
|
|
|
|
|
1998-11-15 22:54:25 +00:00
|
|
|
#
|
|
|
|
# Define this if you want to build and install with the 'customs'
|
|
|
|
# server support and the pmake to match. Note, you'll still get
|
|
|
|
# the plain pmake in ${PREFIX}/bin/pmake.nocustoms.
|
|
|
|
#
|
|
|
|
#WANT_CUSTOMS= yes
|
|
|
|
|
|
|
|
do-install::
|
|
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} install)
|
|
|
|
|
|
|
|
.if defined(WANT_CUSTOMS)
|
2000-10-08 00:36:41 +00:00
|
|
|
PLIST= ${PKGDIR}/pkg-plist.customs
|
1998-11-15 22:54:25 +00:00
|
|
|
MAN1+= export.1 reginfo.1 rexport.1
|
|
|
|
MAN8= cctrl.8 customs.8 importquota.8 logd.8
|
|
|
|
|
|
|
|
do-install::
|
|
|
|
@(cd ${WRKSRC}; ${SETENV} ${PMAKE_ENV} ${PREFIX}/bin/pmake new; \
|
|
|
|
${SETENV} ${PMAKE_ENV} ${PREFIX}/bin/pmake install)
|
|
|
|
@${ECHO} "Adding customs service to /etc/services..."
|
2002-01-29 10:16:28 +00:00
|
|
|
@${ECHO_CMD} -e 'customs\t\t8231/tcp\t# pmake customs server'>>/etc/services
|
|
|
|
@${ECHO_CMD} -e 'customs\t\t8231/udp\t# pmake customs server'>>/etc/services
|
1998-11-15 22:54:25 +00:00
|
|
|
.else
|
|
|
|
do-install::
|
2004-11-11 16:52:58 +00:00
|
|
|
@(cd ${WRKSRC}/doc; ${SETENV} ${PMAKE_ENV} ${MAKE})
|
1998-11-15 22:54:25 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/pmake.1 ${PREFIX}/man/man1
|
|
|
|
.endif
|
|
|
|
|
2004-11-11 16:52:58 +00:00
|
|
|
.include <bsd.port.mk>
|