aboutsummaryrefslogtreecommitdiff
path: root/sysutils/sge61
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2005-09-09 23:13:26 +0000
committerBrooks Davis <brooks@FreeBSD.org>2005-09-09 23:13:26 +0000
commit220c053bfb79a4b78f151e6a44e449913fe7eab8 (patch)
treed0174b5c94e8e1d59415dc8e1ea3ff2387205f7f /sysutils/sge61
parent9a2e0d30e3a7dc79c7014293307e7babd0dcd55e (diff)
downloadports-220c053bfb79a4b78f151e6a44e449913fe7eab8.tar.gz
ports-220c053bfb79a4b78f151e6a44e449913fe7eab8.zip
Notes
Diffstat (limited to 'sysutils/sge61')
-rw-r--r--sysutils/sge61/Makefile41
-rw-r--r--sysutils/sge61/distinfo4
2 files changed, 18 insertions, 27 deletions
diff --git a/sysutils/sge61/Makefile b/sysutils/sge61/Makefile
index 420ba0e4b246..bb90869d0a05 100644
--- a/sysutils/sge61/Makefile
+++ b/sysutils/sge61/Makefile
@@ -6,10 +6,12 @@
#
PORTNAME= sge
-PORTVERSION= ${SGE_VERSION}.${SGE_SNAPDATE}
+PORTVERSION= ${SGE_VERSION}
PORTREVISION= 0
CATEGORIES= sysutils parallel
-MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITES= http://gridengine.sunsource.net/files/documents/7/32/
+MASTER_SITES+= ${MASTER_SITE_LOCAL}
+DISTNAME= sge-V60u6_TAG-src
MASTER_SITE_SUBDIR= brooks
MAINTAINER= brooks@FreeBSD.org
@@ -26,7 +28,6 @@ EXTRA_PATCHES= ${FILESDIR}/pthread-types.diff
.endif
NOT_FOR_ARCHS= alpha
-USE_BZIP2= yes
USE_GETTEXT= yes
USE_GMAKE= yes
USE_OPENSSL= yes
@@ -34,12 +35,17 @@ USE_REINPLACE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= ${SGE_ROOT}/lib/${SGE_ARCH}
+# We have to use fetch because the master site required cookies to
+# download the file.
+FETCH_DEPENDS= wget:${PORTSDIR}/ftp/wget
+DISABLE_SIZE= yes
+FETCH_CMD= wget -c
+
SGE_BASE?= sge
SGE_ROOT= ${PREFIX}/${SGE_BASE}
SGE_ARCH= fbsd-${ARCH}
-SGE_VERSION= 6.0.4
-SGE_SNAPDATE= 20050726
-SGE_RELEASE= 6.0u4
+SGE_VERSION= 6.0.6
+SGE_RELEASE= 6.0u6
PLIST_SUB+= SGE_ARCH=${SGE_ARCH}
PLIST_SUB+= SGE_BASE=${SGE_BASE}
@@ -51,7 +57,7 @@ USE_RC_SUBR= sge.sh
PKGMESSAGE= ${WRKDIR}/pkg-message
PKGINSTALL= ${WRKDIR}/pkg-install
-WRKSRC= ${WRKDIR}/${DISTNAME}/source
+WRKSRC= ${WRKDIR}/gridengine/source
TMP_SGE_ROOT= ${WRKDIR}/sgeroot
AIMK_CMD= ${SETENV} ${AIMK_ENV} ./aimk ${AIMK_ARGS}
@@ -165,7 +171,7 @@ do-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/../doc && ${FIND} * \( -name nonexistant \
- ${EXCEPTFILES:S/^/-o -name /} \) -a -prune -o -print \
+ ${EXCEPTFILES:S/^/-o -name /} -o -name CVS \) -a -prune -o -print \
| ${TAR} cTf - - | ${TAR} xUCf ${DOCSDIR} -
.endif
@@ -186,21 +192,6 @@ release-tar: build
# Maintainer support below this line. No user servicable parts inside. #
#########################################################################
-# Produce a distfile snapshot for today
-SGE_TAG= V60u4win_BRANCH
-TODAY!= date +%Y%m%d
-XDISTNAME= sge-${SGE_VERSION}.${TODAY}
-XDISTFILE= ${DISTDIR}/${XDISTNAME}.tar.bz2
-distfile:
- ${MKDIR} ${WRKDIR}
- cd ${WRKDIR}; \
- cvs -d :pserver:guest@cvs.gridengine.sunsource.net:/cvs co \
- -r ${SGE_TAG} -d ${XDISTNAME} gridengine
- ${FIND} ${WRKDIR}/${XDISTNAME} -name CVS | ${XARGS} ${RM} -rf
- cd ${WRKDIR}; ${TAR} cfy ${XDISTFILE} ${XDISTNAME}
- @${RM} -rf ${WRKDIR}/${XDISTNAME}
- @${RMDIR} ${WRKDIR} 2> /dev/null || true
-
# Build a pkg-plist and Makefile.man
build-plist: build
#.if defined(WITHOUT_BDB) || defined(WITHOUT_JAVA) || defined(WITHOUT_QMON)
@@ -215,7 +206,7 @@ build-plist: build
-e 's|\(.*libXltree.so\)|%%QMON%%\1|' \
-e 's|\(.*qmon.*\)|%%QMON%%\1|' \
> ${PLIST}
- @${FIND} ${WRKSRC}/../doc \( -name nonexistant \
+ @${FIND} ${WRKSRC}/../doc \( -name CVS \
${EXCEPTFILES:S/^/-o -name /} \) -a -prune -o -type f -print | \
${SORT} | \
${SED} -e 's|${WRKSRC}/../doc|%%PORTDOCS%%%%DOCSDIR%%|' \
@@ -226,7 +217,7 @@ build-plist: build
-e 's|${SGE_ARCH}|%%SGE_ARCH%%|' \
-e 's|\(.*qmon.*\)|%%QMON%%\1|' \
>> ${PLIST}
- @${FIND} ${WRKSRC}/../doc \( -name nonexistant \
+ @${FIND} ${WRKSRC}/../doc \( -name CVS \
${EXCEPTFILES:S/^/-o -name /} \) -a -prune -o -type d -print | \
${SORT} -r | \
${SED} -e 's|${WRKSRC}/../doc|%%PORTDOCS%%@dirrm %%DOCSDIR%%|' \
diff --git a/sysutils/sge61/distinfo b/sysutils/sge61/distinfo
index 3ca979a9faa0..f53083f40cb9 100644
--- a/sysutils/sge61/distinfo
+++ b/sysutils/sge61/distinfo
@@ -1,2 +1,2 @@
-MD5 (sge-6.0.4.20050726.tar.bz2) = 3f46f7adb9e7ad530808a06c08e491e3
-SIZE (sge-6.0.4.20050726.tar.bz2) = 12279650
+MD5 (sge-V60u6_TAG-src.tar.gz) = 89a933c6731747522f6363cdd17868c2
+SIZE (sge-V60u6_TAG-src.tar.gz) = 10586734