1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/math/ump/Makefile
Nicola Vitale bd6fa393f8 - Updated email address in my ports
Approved by:	alexbl (mentor)
2006-12-10 01:21:51 +00:00

51 lines
1.0 KiB
Makefile

# New ports collection makefile for: ump
# Date created: 2006-04-20
# Whom: Nicola Vitale <nivit@email.it>
#
# $FreeBSD$
#
PORTNAME= ump
PORTVERSION= 0.8.5
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= u-m-p
MAINTAINER= nivit@FreeBSD.org
COMMENT= A graphical, easy to use math program
CONFLICTS= ump-1.[0-9]*
LATEST_LINK= math-ump
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= gtk20
USE_XLIB= yes
USE_X_PREFIX= yes
ALL_TARGET= ${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKE_ENV+= CXX="${CXX}" CC="${CC}" DATADIR="${DATADIR}" \
X11BASE="${X11BASE}"
FIND_DIRS= -type d
FIND_DATA= -type f
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 503000
IGNORE= requires trunc(3) and round(3)
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/src/main.cpp
post-install:
${INSTALL_DATA} ${WRKSRC}/ump.conf ${PREFIX}/etc/ump.conf.dist
.if !exists(${PREFIX}/etc/ump.conf)
${INSTALL_DATA} ${WRKSRC}/ump.conf ${PREFIX}/etc
.endif
.include <bsd.port.post.mk>