mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
703eddaf98
PR: 138280 Submitted by: Ports Fury
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: fityk
|
|
# Date created: Mar 8, 2005
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fityk
|
|
PORTVERSION= 0.8.9
|
|
CATEGORIES= math
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Free peak fitting software
|
|
|
|
BUILD_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
|
|
RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
|
|
|
|
USE_BZIP2= yes
|
|
USE_GNOME= gtk20
|
|
USE_WX= 2.8+
|
|
WX_CONF_ARGS= absolute
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= libtool:22
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
CONFIGURE_ARGS= --with-xylib --without-doc
|
|
USE_LDCONFIG= yes
|
|
|
|
MAN1= fityk.1
|
|
PORTDOCS= *
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/HELP_DEF/s|pkgdatadir|docdir|g' \
|
|
${WRKSRC}/src/wxgui/Makefile.in
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/doc/fityk.1 ${MANPREFIX}/man/man1
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${DOCSDIR})
|
|
.endif
|
|
@-update-mime-database ${PREFIX}/share/mime
|
|
|
|
.include <bsd.port.mk>
|