2013-01-05 15:13:46 +01:00
|
|
|
# Created by: Nicola Vitale <nivit@email.it>
|
2005-07-14 12:54:10 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= wxMaxima
|
2012-07-23 08:04:20 +02:00
|
|
|
PORTVERSION= 12.04.0
|
2013-05-06 17:33:07 +02:00
|
|
|
PORTREVISION= 6
|
2005-07-14 12:54:10 +02:00
|
|
|
CATEGORIES= math
|
2012-07-23 08:04:20 +02:00
|
|
|
MASTER_SITES= SF
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:L}/${PORTNAME}/${PORTVERSION}
|
|
|
|
#MASTER_SITE_SUBDIR= ${PORTNAME:tl}/${PORTNAME}/${PORTVERSION}
|
2005-07-14 12:54:10 +02:00
|
|
|
|
2006-12-10 02:21:51 +01:00
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
2005-07-14 12:54:10 +02:00
|
|
|
COMMENT= A wxWidgets GUI for the computer algebra system maxima
|
|
|
|
|
2012-01-23 18:44:09 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2005-07-14 12:54:10 +02:00
|
|
|
RUN_DEPENDS= maxima:${PORTSDIR}/math/maxima
|
|
|
|
|
2013-04-24 20:10:30 +02:00
|
|
|
USES= gettext
|
2012-07-23 08:04:20 +02:00
|
|
|
USE_GNOME= desktopfileutils libxml2
|
2008-10-05 11:16:53 +02:00
|
|
|
USE_WX= 2.8
|
2006-10-09 19:39:44 +02:00
|
|
|
WX_COMPS= wx
|
|
|
|
WX_CONF_ARGS= absolute
|
2006-11-14 19:05:33 +01:00
|
|
|
WANT_UNICODE= yes
|
2005-07-14 12:54:10 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-10-09 19:39:44 +02:00
|
|
|
CONFIGURE_ARGS= --program-prefix=
|
2005-07-14 12:54:10 +02:00
|
|
|
|
2012-07-23 08:04:20 +02:00
|
|
|
PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S,${PREFIX}/,,}
|
2010-02-02 19:37:47 +01:00
|
|
|
|
2006-04-28 05:19:12 +02:00
|
|
|
post-install:
|
2012-07-23 08:04:20 +02:00
|
|
|
@${LN} -s ${DATADIR}/wxmaxima.png ${PREFIX}/share/pixmaps/wxmaxima.png
|
|
|
|
@${LOCALBASE}/bin/desktop-file-install \
|
|
|
|
--mode=${SHAREMODE} --dir=${DESKTOPDIR} \
|
|
|
|
--rebuild-mime-info-cache ${WRKSRC}/${PORTNAME:L}.desktop
|
|
|
|
# --rebuild-mime-info-cache ${WRKSRC}/${PORTNAME:tl}.desktop
|
2006-04-28 05:19:12 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2005-07-14 12:54:10 +02:00
|
|
|
.include <bsd.port.mk>
|