opnsense-ports/math/ump/Makefile
Franco Fichtner c6e96193e7 */*: sync with upstream
Taken from: FreeBSD
2023-03-03 12:35:16 +01:00

31 lines
685 B
Makefile

PORTNAME= ump
PORTVERSION= 0.8.6
PORTREVISION= 14
CATEGORIES= math education
MASTER_SITES= SF/u-m-p/u-m-p/${PORTVERSION}
PKGNAMESUFFIX= -math
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical, easy to use math program
WWW= http://u-m-p.sourceforge.net/
LICENSE= GPLv2
USES= compiler:c++11-lang gl gmake gnome pkgconfig tar:bzip2
USE_GNOME= gtk20
USE_GL= glu
ALL_TARGET= ${PORTNAME}
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>