From 578078ba1db077340c18801919aef159673cf7ae Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Fri, 11 Mar 2005 09:33:12 +0000 Subject: Add modules 3.1.6, dynamic modification of a user's environment. PR: ports/78649 Submitted by: Hokan --- sysutils/modules/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 sysutils/modules/Makefile (limited to 'sysutils/modules/Makefile') diff --git a/sysutils/modules/Makefile b/sysutils/modules/Makefile new file mode 100644 index 000000000000..72932c86715d --- /dev/null +++ b/sysutils/modules/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: modules +# Date created: 9 March 2005 +# Whom: Hokan +# +# $FreeBSD$ +# + +PORTNAME= modules +PORTVERSION= 3.1.6 +CATEGORIES= sysutils tcl84 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= hokan@me.umn.edu +COMMENT= Dynamic modification of a user's environment + +LIB_DEPENDS= tcl${TCL_VER}:${PORTSDIR}/lang/tcl${TCL_VER} + +PLIST_SUB= MODULES_VERSION=${PORTVERSION} + +BINDIR= ${PREFIX}/Modules + +TCL_DVER?= 8.4 +TCL_VER= ${TCL_DVER:S/.//} +HAS_CONFIGURE= yes + +CONFIGURE_ARGS= --prefix=${PREFIX}/Modules/@VERSION@ \ + --without-x \ + --with-version-path=${PREFIX}/Modules/versions \ + --mandir=${PREFIX}/man \ + --with-tcl-version=${TCL_VER} \ + --with-tcl-include=${LOCALBASE}/include/tcl${TCL_DVER} \ + --with-tcl-libraries=${LOCALBASE}/lib/ + +MAN1= module.1 +MAN5= modulefile.5 + +post-extract: + ${MV} ${WRKSRC}/doc/modulefile.4.in ${WRKSRC}/doc/modulefile.5.in + +pre-install: + ${MKDIR} ${PREFIX}/Modules + +.include -- cgit v1.2.3