mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
de78af3ac5
Reviewed by: exp8 run on pointyhat Supported by: miwi
43 lines
846 B
Makefile
43 lines
846 B
Makefile
# New ports collection makefile for: ump
|
|
# Date created: 2006-04-20
|
|
# Whom: Nicola Vitale <nivit@email.it>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ump
|
|
PORTVERSION= 0.8.6
|
|
PORTREVISION= 6
|
|
CATEGORIES= math
|
|
MASTER_SITES= SF/u-m-p/u-m-p/${PORTVERSION}
|
|
|
|
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_GL= glu
|
|
|
|
ALL_TARGET= ${PORTNAME}
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAKE_ENV+= DATADIR="${DATADIR}"
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|