mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
bbc8c4d740
Approved by: portmgr (not really, but touches unstaged ports)
39 lines
791 B
Makefile
39 lines
791 B
Makefile
# Created by: Nicola Vitale <nivit@email.it>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ump
|
|
PORTVERSION= 0.8.6
|
|
PORTREVISION= 7
|
|
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
|
|
|
|
CONFLICTS= ump-1.[0-9]*
|
|
|
|
USES= gmake pkgconfig tar:bzip2
|
|
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
|
|
|
|
NO_STAGE= yes
|
|
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>
|