freebsd-ports/math/ump/Makefile
John Marino d5bfd7b9e8 math/ump: Finish original "fix on current"
Back on 10 OCT 2014 when the PR was opened, this unmaintained port
didn't build on current.  The PR stagnanted due to an unanswered
question and the port was eventually fixed by amdmi3 on 21 NOV.  Let's
go ahead and make the remaining changes which include adding a license
(GPLv2), defining desktop entries, tweaking pkg-descr, and make real_frac
function match its changed header (for clang).

PR:		194497
Submitted by:	Ports Fury
2015-02-06 18:25:04 +00:00

34 lines
714 B
Makefile

# Created by: Nicola Vitale <nivit@email.it>
# $FreeBSD$
PORTNAME= ump
PORTVERSION= 0.8.6
PORTREVISION= 10
CATEGORIES= math
MASTER_SITES= SF/u-m-p/u-m-p/${PORTVERSION}
PKGNAMESUFFIX= -math
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical, easy to use math program
LICENSE= GPLv2
USES= gmake pkgconfig tar:bzip2
USE_GNOME= gtk20
USE_GL= glu
ALL_TARGET= ${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
CONFLICTS= ump-1.[0-9]*
DESKTOP_ENTRIES="Ump" "" "" "ump" "Education;Math;Science;GTK;" ""
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/src/main.cpp
post-install:
${INSTALL_DATA} ${WRKSRC}/ump.conf \
${STAGEDIR}${PREFIX}/etc/ump.conf.sample
.include <bsd.port.mk>