mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
dfcde1ad9d
- Remove the Author: line from pkg-descr - Add files/patch-wxmaxima.desktop (validation ok) - Replace DESKTOP_ENTRIES with the provided wxmaxima.desktop file - Add desktopfileutils to USE_GNOME - Add commands to update desktop database on install/deinstall Buildlog: http://goo.gl/HFNGE [@redports]
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# New ports collection makefile for: wxMaxima
|
|
# Date created: 2005-07-12
|
|
# Whom: Nicola Vitale <nivit@email.it>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wxMaxima
|
|
PORTVERSION= 12.04.0
|
|
PORTREVISION= 0
|
|
CATEGORIES= math
|
|
MASTER_SITES= SF
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:L}/${PORTNAME}/${PORTVERSION}
|
|
#MASTER_SITE_SUBDIR= ${PORTNAME:tl}/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= A wxWidgets GUI for the computer algebra system maxima
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= maxima:${PORTSDIR}/math/maxima
|
|
|
|
USE_GETTEXT= yes
|
|
USE_GNOME= desktopfileutils libxml2
|
|
USE_WX= 2.8
|
|
WX_COMPS= wx
|
|
WX_CONF_ARGS= absolute
|
|
WANT_UNICODE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --program-prefix=
|
|
|
|
PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S,${PREFIX}/,,}
|
|
|
|
post-install:
|
|
@${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
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|