openbsd-ports/math/wxMaxima/Makefile

38 lines
979 B
Makefile

# $OpenBSD: Makefile,v 1.7 2012/05/10 11:14:13 edd Exp $
COMMENT = wxWidgets GUI for the computer algebra system maxima
DISTNAME = wxMaxima-12.04.0
CATEGORIES = math
HOMEPAGE = http://wxmaxima.sourceforge.net/
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=wxmaxima/}
MAINTAINER = Edd Barrett <edd@openbsd.org>
WANTLIB += c m pthread stdc++ wx_base wx_base_net wx_base_xml
WANTLIB += wx_gtk2_adv wx_gtk2_aui wx_gtk2_core wx_gtk2_html
RUN_DEPENDS = devel/desktop-file-utils \
math/gnuplot \
math/maxima
LIB_DEPENDS = x11/wxWidgets
NO_REGRESS = Yes
CONFIGURE_STYLE = gnu
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/data/wxmaxima.png ${PREFIX}/share/pixmaps
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/wxmaxima.desktop ${PREFIX}/share/applications
.include <bsd.port.mk>