aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-04-16 11:57:17 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-04-16 11:57:17 +0000
commitaa0f192c4289ae4ff4c14d29798902cc1c0a8bc9 (patch)
tree7edeb2284db4ae327c9ef74cc42cb22e094661a9 /biology
parent02c202524bd18909a66f3cbf4348f0a2972877dc (diff)
downloadports-aa0f192c4289ae4ff4c14d29798902cc1c0a8bc9.tar.gz
ports-aa0f192c4289ae4ff4c14d29798902cc1c0a8bc9.zip
Notes
Diffstat (limited to 'biology')
-rw-r--r--biology/distribfold/Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/biology/distribfold/Makefile b/biology/distribfold/Makefile
index 5f00656de1bf..b9c75a229fb2 100644
--- a/biology/distribfold/Makefile
+++ b/biology/distribfold/Makefile
@@ -15,6 +15,8 @@ DISTNAME= distribfold-current-FreeBSD-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= distributedfolding.org distributed protein folding project
+LIB_DEPENDS= c_r.4:${PORTSDIR}/misc/compat4x
+
ONLY_FOR_ARCHS= i386
USE_BZIP2= yes
NO_BUILD= yes
@@ -53,8 +55,8 @@ do-install:
@${RM} -f ${WRKSRC}/*.${ext}
.endfor
# strip binaries
-.for file in ${PROGRAM_FILES}
- @${STRIP_CMD} ${WRKSRC}/${file}
+.for f in ${PROGRAM_FILES}
+ @${STRIP_CMD} ${WRKSRC}/${f}
.endfor
# install startup script
@${INSTALL_SCRIPT} ${WRKDIR}/distribfold.sh ${PREFIX}/etc/rc.d
@@ -68,8 +70,8 @@ do-install:
${CHMOD} g+w $${DESTINATION_DIR} ; \
${CHOWN} ${DNETFOLD_USER} $${DESTINATION_DIR}/* ; \
${CHMOD} u+w $${DESTINATION_DIR}/* ; \
- for file in ${PROGRAM_FILES} ${SCRIPT_FILES} ; do \
- ${CHMOD} 0755 $${DESTINATION_DIR}/$${file} ; \
+ for f in ${PROGRAM_FILES} ${SCRIPT_FILES} ; do \
+ ${CHMOD} 0755 $${DESTINATION_DIR}/$${f} ; \
done ; \
done
# display package message
@@ -77,12 +79,6 @@ do-install:
post-install: cook-install-plist fix-startup-scripts
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500000
-LIB_DEPENDS+= c_r.4:${PORTSDIR}/misc/compat4x
-.endif
-
pre-everything::
.if ${WITH_NCPU} < 1
@${ECHO_MSG} "===> Number of processors HAS to be at least 1"
@@ -118,8 +114,8 @@ cook-install-plist: generate-plist
${SED} -e "s|cpu0|cpu$${dir}|" ${WRKDIR}/plist >> ${WRKDIR}/plistN ; \
done
@${CP} /dev/null ${TMPPLIST}
-.for file in plistN plist.end
- @${CAT} ${WRKDIR}/${file} >> ${TMPPLIST}
+.for f in plistN plist.end
+ @${CAT} ${WRKDIR}/${f} >> ${TMPPLIST}
.endfor
.endif
@@ -134,4 +130,4 @@ fix-startup-scripts:
done
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>