freebsd-ports/biology/paml/Makefile
Emanuel Haupt 5005b67362 According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
2014-02-10 13:54:26 +00:00

38 lines
828 B
Makefile

# Created by: dbader@eece.unm.edu
# $FreeBSD$
PORTNAME= paml
PORTVERSION= 4.4c
CATEGORIES= biology
MASTER_SITES= http://abacus.gene.ucl.ac.uk/software/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= wen@FreeBSD.org
COMMENT= Phylogenetic Analysis by Maximum Likelihood (PAML)
USE_GMAKE= YES
WRKSRC= ${WRKDIR}/${PORTNAME}44/src
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
BINARIES= baseml basemlg chi2 codeml evolver pamp yn00
DOC_FILES= MCMCtreeDoc.pdf pamlDOC.pdf pamlFAQs.pdf pamlHistory.txt
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
.for f in ${BINARIES}
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
.endfor
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${DOC_FILES}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}44/doc/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>