2006-05-05 11:13:30 +02:00
|
|
|
# New ports collection makefile for: ump
|
|
|
|
# Date created: 2006-04-20
|
|
|
|
# Whom: Nicola Vitale <nivit@email.it>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ump
|
2007-04-17 14:52:39 +02:00
|
|
|
PORTVERSION= 0.8.6
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 3
|
2006-05-05 11:13:30 +02:00
|
|
|
CATEGORIES= math
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
MASTER_SITES= SF/u-m-p
|
2006-05-05 11:13:30 +02:00
|
|
|
|
2006-12-10 02:21:51 +01:00
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
2006-05-05 11:13:30 +02:00
|
|
|
COMMENT= A graphical, easy to use math program
|
|
|
|
|
|
|
|
CONFLICTS= ump-1.[0-9]*
|
2006-05-22 10:47:13 +02:00
|
|
|
LATEST_LINK= math-ump
|
2006-05-05 11:13:30 +02:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= gtk20
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_GL= glu
|
2006-05-05 11:13:30 +02:00
|
|
|
|
|
|
|
ALL_TARGET= ${PORTNAME}
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2008-07-25 14:24:09 +02:00
|
|
|
MAKE_ENV+= DATADIR="${DATADIR}"
|
2006-05-05 11:13:30 +02:00
|
|
|
|
|
|
|
FIND_DIRS= -type d
|
|
|
|
FIND_DATA= -type f
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2009-01-05 22:05:49 +01:00
|
|
|
.include <bsd.port.mk>
|