diff options
Diffstat (limited to 'devel/pmake/Makefile')
-rw-r--r-- | devel/pmake/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/devel/pmake/Makefile b/devel/pmake/Makefile new file mode 100644 index 000000000000..9c6b745349ee --- /dev/null +++ b/devel/pmake/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: pmake +# Version required: 2.1.33 +# Date created: 12 November 1998 +# Whom: steve +# +# $Id$ +# + +DISTNAME= pmake-2.1.33 +CATEGORIES= devel +MASTER_SITES= ftp://ftp.icsi.berkeley.edu/pub/ai/stolcke/software/ +EXTRACT_SUFX= .tar.Z + +MAINTAINER= steve@freebsd.org + +RESTRICTED= "Non-commercial use only" + +WRKSRC= ${WRKDIR}/pmake +MAKEFILE= makefile +ALL_TARGET= pmake +PMAKE_ENV= ${MAKE_ENV} MAKE=${PREFIX}/bin/pmake +MAN1= pmake.1 + +# +# 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) +PLIST= ${PKGDIR}/PLIST.customs +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..." + @${ECHO} -e 'customs\t\t8231/tcp\t# pmake customs server'>>/etc/services + @${ECHO} -e 'customs\t\t8231/udp\t# pmake customs server'>>/etc/services +.else +do-install:: + @(cd ${WRKSRC}/doc; ${SETENV} ${PMAKE_ENV} ${PREFIX}/bin/pmake) + ${INSTALL_MAN} ${WRKSRC}/doc/pmake.1 ${PREFIX}/man/man1 +.endif + +.include <bsd.port.mk> |