1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/biology/phylip/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

49 lines
1.2 KiB
Makefile

# New ports collection makefile for: phylip
# Date created: 4 July 2000
# Whom: dbader@eece.unm.edu
#
# $FreeBSD$
#
PORTNAME= phylip
PORTVERSION= 3.66
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= biology
MASTER_SITES= ftp://evolution.genetics.washington.edu/pub/phylip/ \
http://bioinformatics.weizmann.ac.il/software/linkage_and_mapping/phylip/ \
${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles
MAINTAINER= ports@FreeBSD.org
COMMENT= A Phylogeny Inference Package
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
USE_XLIB= yes
BUILD_WRKSRC= ${WRKSRC}/src
MAKE_ARGS= CC="${CC} ${CFLAGS}" \
DC="${CC} -DX -I${X11BASE}/include ${CFLAGS}" \
DLIBS="-L${X11BASE}/lib -lX11 -lXaw -lXt"
PORTDOCS= *
do-install:
@cd ${BUILD_WRKSRC} && ${MAKE} install
@cd ${WRKSRC}/exe && \
${FIND} . -not -type d -not -name 'font*' -exec ${INSTALL_PROGRAM} "{}" "${PREFIX}/bin/{}" \;
${MKDIR} ${DATADIR}
@cd ${WRKSRC}/exe && \
${FIND} . -not -type d -name 'font*' -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
@cd ${WRKSRC}/doc && \
${FIND} . -not -type d -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
.endif
.include <bsd.port.mk>