diff options
author | pav <pav@FreeBSD.org> | 2006-10-10 19:31:42 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-10-10 19:31:42 +0800 |
commit | e0a825b984693b092c63a4d92b202f3f57d53bb1 (patch) | |
tree | 5d9b0702a89333674d76da1bff15e22714eeafa1 /biology/boinc-simap/Makefile | |
parent | f3d248224d2e649747a2f1f93e9ca53f7f86d71e (diff) | |
download | freebsd-ports-graphics-e0a825b984693b092c63a4d92b202f3f57d53bb1.tar.gz freebsd-ports-graphics-e0a825b984693b092c63a4d92b202f3f57d53bb1.tar.zst freebsd-ports-graphics-e0a825b984693b092c63a4d92b202f3f57d53bb1.zip |
- Add hmmer 5.09 application
Diffstat (limited to 'biology/boinc-simap/Makefile')
-rw-r--r-- | biology/boinc-simap/Makefile | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/biology/boinc-simap/Makefile b/biology/boinc-simap/Makefile index a7bd479be2d..b765a9f2304 100644 --- a/biology/boinc-simap/Makefile +++ b/biology/boinc-simap/Makefile @@ -5,10 +5,10 @@ # PORTNAME= boinc-simap -PORTVERSION= 5.10 +PORTVERSION= ${SIMAP_VERSION}.${HMMER_VERSION} CATEGORIES= biology MASTER_SITES= http://boinc.bio.wzw.tum.de/boincsimap/download/ -DISTNAME= simap_${PORTVERSION}_${MACH}-pc-freebsd +DISTNAME= ${SIMAP_BINARY} ${HMMER_BINARY} EXTRACT_SUFX= # MAINTAINER= pav@FreeBSD.org @@ -27,9 +27,12 @@ BOINC_HOME?= /var/db/boinc SIMAP_SITE= boinc.bio.wzw.tum.de_boincsimap SIMAP_URL= boinc.bio.wzw.tum.de/boincsimap -SIMAP_BINARY= ${DISTNAME} +SIMAP_BINARY= simap_${SIMAP_VERSION}_${MACH}-pc-freebsd +SIMAP_VERSION= 5.10 +HMMER_BINARY= hmmer_${HMMER_VERSION}_${MACH}-pc-freebsd +HMMER_VERSION= 5.09 -PLIST_SUB= SIMAP_BINARY=${SIMAP_BINARY} SIMAP_SITE=${SIMAP_SITE} \ +PLIST_SUB= SIMAP_BINARY=${SIMAP_BINARY} HMMER_BINARY=${HMMER_BINARY} SIMAP_SITE=${SIMAP_SITE} \ BOINC_HOME=${BOINC_HOME} ONLY_FOR_ARCHS= i386 amd64 @@ -51,7 +54,7 @@ AMD64= "@comment " .endif SUB_FILES= app_info.xml pkg-message -SUB_LIST= DISTNAME=${DISTNAME} APPVERSION=${PORTVERSION:S/.//} AMD64=${AMD64} +SUB_LIST= SIMAP_BINARY=${SIMAP_BINARY} HMMER_BINARY=${HMMER_BINARY} SIMAP_APPVERSION=${SIMAP_VERSION:S/.//} HMMER_APPVERSION=${HMMER_VERSION:S/.//} AMD64=${AMD64} .if ${OSVERSION} < 600000 IGNORE= only supports FreeBSD 6.X and newer @@ -59,13 +62,16 @@ IGNORE= only supports FreeBSD 6.X and newer do-extract: @${MKDIR} ${WRKDIR} - @${CP} ${DISTDIR}/${DISTNAME} ${WRKDIR} + @${CP} ${DISTDIR}/${SIMAP_BINARY} ${WRKDIR} + @(cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${HMMER_BINARY} ${EXTRACT_AFTER_ARGS}) do-install: ${INSTALL} -d -o ${BOINC_USER} -g ${BOINC_GROUP} ${BOINC_HOME}/projects ${INSTALL} -d -o ${BOINC_USER} -g ${BOINC_GROUP} ${BOINC_HOME}/projects/${SIMAP_SITE} ${INSTALL_DATA} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKDIR}/app_info.xml ${BOINC_HOME}/projects/${SIMAP_SITE} - ${INSTALL_PROGRAM} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKDIR}/${SIMAP_BINARY} ${BOINC_HOME}/projects/${SIMAP_SITE} +.for APP in ${DISTNAME} + ${INSTALL_PROGRAM} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKDIR}/${APP} ${BOINC_HOME}/projects/${SIMAP_SITE} +.endfor post-install: @${CAT} ${PKGMESSAGE} |