From owner-svn-ports-head@FreeBSD.ORG Mon Jan 28 15:58:19 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EB1E66EE; Mon, 28 Jan 2013 15:58:19 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id DD64A7E2; Mon, 28 Jan 2013 15:58:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0SFwJba026367; Mon, 28 Jan 2013 15:58:19 GMT (envelope-from rene@svn.freebsd.org) Received: (from rene@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0SFwJ5Q026366; Mon, 28 Jan 2013 15:58:19 GMT (envelope-from rene@svn.freebsd.org) Message-Id: <201301281558.r0SFwJ5Q026366@svn.freebsd.org> From: Rene Ladan Date: Mon, 28 Jan 2013 15:58:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311130 - head/sysutils/sge62 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2013 15:58:20 -0000 Author: rene Date: Mon Jan 28 15:58:19 2013 New Revision: 311130 URL: http://svnweb.freebsd.org/changeset/ports/311130 Log: - Convert to optionsNG - Use new Makefile header - Pet portlint Modified: head/sysutils/sge62/Makefile (contents, props changed) Modified: head/sysutils/sge62/Makefile ============================================================================== --- head/sysutils/sge62/Makefile Mon Jan 28 15:57:05 2013 (r311129) +++ head/sysutils/sge62/Makefile Mon Jan 28 15:58:19 2013 (r311130) @@ -1,9 +1,5 @@ -# Ports collection makefile for: sge -# Date created: Fri Jul 11, 2003 -# Whom: Brooks Davis -# +# Created by: Brooks Davis # $FreeBSD$ -# PORTNAME= sge PORTVERSION= ${SGE_VERSION} @@ -19,12 +15,15 @@ EXTRACT_ONLY= ${DISTNAME}.tar.gz MAINTAINER= ports@FreeBSD.org COMMENT= Sun Grid Engine, a batch queueing system -DEPRECATED= Ancient and unsupported release +DEPRECATED= Ancient and unsupported release EXPIRATION_DATE=2013-03-01 -OPTIONS= BDB "Use DB based spooler" on \ - X11 "Qmon X11 GUI" on \ - QSH "Enable qsh (requires xterm on exec hosts)" on +OPTIONS_DEFINE= BDB X11 QSH +OPTIONS_DEFAULT= BDB X11 QSH +X11_DESC= Qmon X11 GUI +QSH_DESC= qsh (requires xterm on exec hosts) + +.include LATEST_LINK= sge62 CONFLICTS= sge-6.[013-9]* sge-5* sgeee-[0-9]* sge-0.* @@ -87,13 +86,11 @@ MANPREFIX= ${SGE_ROOT} .include "${.CURDIR}/Makefile.man" EXCEPTFILES= arc_depend_irix.asc arc_depend_solaris.asc man testsuite -.include - .if ${ARCH} == "sparc64" BROKEN= Does not configure on sparc64 .endif -.if defined(WITH_BDB) +.if ${PORT_OPTIONS:MBDB} LIB_DEPENDS= db-4.2:${PORTSDIR}/databases/db42 PLIST_SUB+= BDB_SPOOL= .else @@ -103,7 +100,7 @@ PLIST_SUB+= BDB_SPOOL="@comment " AIMK_ARGS+= -no-java -no-jni -no-gui-inst -.if defined(WITH_X11) +.if ${PORT_OPTIONS:MX11} USE_MOTIF= yes PLIST_SUB+= QMON= QMON= qmon @@ -157,7 +154,7 @@ post-patch: -e 's|%%OPENSSLBASE%%|${OPENSSLBASE}|g' \ -e 's|%%WRKDIR%%|${WRKDIR}|g' \ ${FILESDIR}/distinst.private > ${WRKSRC}/distinst.private -.if !defined(WITH_X11) +.if ! ${PORT_OPTIONS:MX11} @${REINPLACE_CMD} -e 's/qmon//' ${WRKSRC}/dist/util/setfileperm.sh .endif @@ -171,14 +168,14 @@ do-build: @${MKDIR} ${TMP_SGE_ROOT} @cd ${WRKSRC} && ${SETENV} SGE_ROOT=${TMP_SGE_ROOT} \ ./scripts/distinst -local -libs ${SGE_ARCH} -- ${INST_PROGS} -.if defined(WITHOUT_QSH) +.if ! ${PORT_OPTIONS:MQSH} @${RM} ${TMP_SGE_ROOT}/bin/${SGE_ARCH}/qlogin @${RM} ${TMP_SGE_ROOT}/bin/${SGE_ARCH}/qrsh @${MV} ${TMP_SGE_ROOT}/bin/${SGE_ARCH}/qsh ${TMP_SGE_ROOT}/bin/${SGE_ARCH}/qrsh @${LN} -s qrsh ${TMP_SGE_ROOT}/bin/${SGE_ARCH}/qlogin @${INSTALL_SCRIPT} ${FILESDIR}/qsh-disabled.sh ${TMP_SGE_ROOT}/bin/${SGE_ARCH}/qsh .endif -.if !defined(WITH_X11) +.if ! ${PORT_OPTIONS:MX11} @${RM} ${TMP_SGE_ROOT}/catman/cat/cat1/qmon.1 @${RM} -r ${TMP_SGE_ROOT}/3rd_party/qmon .endif @@ -188,7 +185,7 @@ do-install: @cd ${TMP_SGE_ROOT} && \ ${FIND} . | ${TAR} cTf - - | ${TAR} xUCf ${SGE_ROOT} - @cd ${SGE_ROOT} && ${SETENV} SGE_ROOT=${SGE_ROOT} util/setfileperm.sh -auto ${SGE_ROOT} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} @cd ${WRKSRC}/../doc && ${FIND} * \( -name CVS \ ${EXCEPTFILES:S/^/-o -name /} \) -a -prune -o -type f -print \ @@ -214,7 +211,7 @@ release-tar: build # Build a pkg-plist and Makefile.man build-plist: -.if defined(WITHOUT_BDB) || defined(WITHOUT_X11) +.if ! ${PORT_OPTIONS:MBDB} || ! ${PORT_OPTIONS:MX11} @echo "ERROR: All OPTIONS must be enabled to build plist!" && ${FALSE} .endif @${FIND} ${TMP_SGE_ROOT}/* -name man -prune -o \ @@ -257,4 +254,4 @@ build-plist: ${SED} -e 's|.*man\([0-9LN]\)/\(.*\)|MAN\1+=\2|' \ >> ${.CURDIR}/Makefile.man -.include +.include