freebsd-ports/math/wxMaxima/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

38 lines
906 B
Makefile

# Created by: Nicola Vitale <nivit@email.it>
# $FreeBSD$
PORTNAME= wxMaxima
PORTVERSION= 14.12.1
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}/${PORTVERSION}
DISTFILES= ${PORTNAME:tl}-${PORTVERSION}.tar.gz
MAINTAINER= nivit@FreeBSD.org
COMMENT= WxWidgets GUI for the computer algebra system maxima
LICENSE= GPLv2
RUN_DEPENDS= maxima:${PORTSDIR}/math/maxima
CONFIGURE_ARGS= --program-prefix=
GNU_CONFIGURE= yes
PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S,${PREFIX}/,,}
USES= desktop-file-utils gettext
USE_WX= 2.8
WANT_UNICODE= yes
WRKSRC= ${WRKDIR}/${PORTNAME:tl}-${PORTVERSION}
WX_COMPS= wx
WX_CONF_ARGS= absolute
post-install:
@${LN} -s ../wxMaxima/wxmaxima.png ${STAGEDIR}${PREFIX}/share/pixmaps/wxmaxima.png
@${LOCALBASE}/bin/desktop-file-install \
--mode=${SHAREMODE} --dir=${STAGEDIR}${DESKTOPDIR} \
${WRKSRC}/${PORTNAME:tl}.desktop
.include <bsd.port.mk>