Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= ump |
4 |
PORTNAME= ump |
5 |
PORTVERSION= 0.8.6 |
5 |
PORTVERSION= 0.8.6 |
6 |
PORTREVISION= 9 |
6 |
PORTREVISION= 10 |
7 |
CATEGORIES= math |
7 |
CATEGORIES= math |
8 |
MASTER_SITES= SF/u-m-p/u-m-p/${PORTVERSION} |
8 |
MASTER_SITES= SF/u-m-p/u-m-p/${PORTVERSION} |
9 |
PKGNAMESUFFIX= -math |
9 |
PKGNAMESUFFIX= -math |
Lines 11-34
Link Here
|
11 |
MAINTAINER= ports@FreeBSD.org |
11 |
MAINTAINER= ports@FreeBSD.org |
12 |
COMMENT= Graphical, easy to use math program |
12 |
COMMENT= Graphical, easy to use math program |
13 |
|
13 |
|
14 |
CONFLICTS= ump-1.[0-9]* |
14 |
LICENSE= GPLv2 |
|
|
15 |
|
16 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
15 |
|
17 |
|
16 |
USES= gmake pkgconfig tar:bzip2 |
18 |
USES= gmake pkgconfig tar:bzip2 |
17 |
USE_GNOME= gtk20 |
19 |
USE_GNOME= gtk20 |
18 |
USE_GL= glu |
20 |
USE_GL= glu |
19 |
|
|
|
20 |
ALL_TARGET= ${PORTNAME} |
21 |
ALL_TARGET= ${PORTNAME} |
21 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
|
|
22 |
|
22 |
|
23 |
MAKE_ENV+= DATADIR="${DATADIR}" |
23 |
CONFLICTS= ump-1.[0-9]* |
|
|
24 |
|
25 |
DESKTOP_ENTRIES="Ump" "" "" "ump" "Education;Math;Science;GTK;" "" |
24 |
|
26 |
|
25 |
FIND_DIRS= -type d |
|
|
26 |
FIND_DATA= -type f |
27 |
|
27 |
|
28 |
post-patch: |
28 |
post-patch: |
29 |
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/src/main.cpp |
29 |
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/src/main.cpp |
30 |
|
30 |
|
31 |
post-install: |
31 |
post-install: |
32 |
${INSTALL_DATA} ${WRKSRC}/ump.conf ${STAGEDIR}${PREFIX}/etc/ump.conf.sample |
32 |
(cd ${WRKSRC} && ${INSTALL_DATA} ump.conf \ |
|
|
33 |
${STAGEDIR}${PREFIX}/etc/ump.conf.sample) |
33 |
|
34 |
|
34 |
.include <bsd.port.mk> |
35 |
.include <bsd.port.mk> |