diff options
author | edwin <edwin@FreeBSD.org> | 2007-04-16 19:57:17 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2007-04-16 19:57:17 +0800 |
commit | 25cd83d09f78468196e3f18b7e1673853c856121 (patch) | |
tree | a382e1a0e24c861a9ac55823b2ecd46cb37fe2e7 /biology | |
parent | 764357efaa89ef8478cff699bb7c00b7196660f9 (diff) | |
download | freebsd-ports-gnome-25cd83d09f78468196e3f18b7e1673853c856121.tar.gz freebsd-ports-gnome-25cd83d09f78468196e3f18b7e1673853c856121.tar.zst freebsd-ports-gnome-25cd83d09f78468196e3f18b7e1673853c856121.zip |
- Remove unreachable OSVERSION code.
- Make portlint happier
Diffstat (limited to 'biology')
-rw-r--r-- | biology/distribfold/Makefile | 22 |
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> |