aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-12-15 02:45:47 +0800
committermiwi <miwi@FreeBSD.org>2007-12-15 02:45:47 +0800
commit49db8cdb93b9256b6734746288b66065600ab9b3 (patch)
treebdd3d8a03545b0da344f777e2e7279e24d2349c6 /math
parenta36da3fb9475bd9249d641cd45f8a87cdde44b7d (diff)
downloadfreebsd-ports-gnome-49db8cdb93b9256b6734746288b66065600ab9b3.tar.gz
freebsd-ports-gnome-49db8cdb93b9256b6734746288b66065600ab9b3.tar.zst
freebsd-ports-gnome-49db8cdb93b9256b6734746288b66065600ab9b3.zip
- Update to 0.8.2
PR: 118599 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'math')
-rw-r--r--math/fityk/Makefile23
-rw-r--r--math/fityk/distinfo6
-rw-r--r--math/fityk/pkg-plist15
3 files changed, 23 insertions, 21 deletions
diff --git a/math/fityk/Makefile b/math/fityk/Makefile
index 8f8d8e500613..b88f78c73a51 100644
--- a/math/fityk/Makefile
+++ b/math/fityk/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= fityk
-PORTVERSION= 0.8.1
-PORTREVISION= 2
+PORTVERSION= 0.8.2
CATEGORIES= math
MASTER_SITES= SF
@@ -21,32 +20,20 @@ RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
USE_BZIP2= yes
USE_GNOME= gnometarget gtk20
-USE_WX= 2.6
+USE_WX= 2.6+
WX_CONF_ARGS= absolute
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS= --disable-3rdparty
USE_LDCONFIG= yes
MAN1= fityk.1
-PLIST_FILES= bin/cfityk \
- bin/fityk \
- include/fityk.h \
- lib/libfityk.a \
- lib/libfityk.la \
- lib/libfityk.so \
- lib/libfityk.so.0 \
- %%DATADIR%%/fitykhelp.htb \
- %%DATADIR%%/tips.txt
-PLIST_DIRS= %%DATADIR%%
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-post-patch:
- @${REINPLACE_CMD} -e 's|^CPPFLAGS=|#CPPFLAGS=|g' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|config 3rdparty|config|g ; \
- s|^install-data-am:|install-data-am:#|g' ${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e 's|fityk_tips|tips|g' ${WRKSRC}/src/wxgui/gui.cpp
+post-install:
+ @-update-mime-database ${PREFIX}/share/mime
.include <bsd.port.mk>
diff --git a/math/fityk/distinfo b/math/fityk/distinfo
index d524c6b3bda6..dead6042dc6b 100644
--- a/math/fityk/distinfo
+++ b/math/fityk/distinfo
@@ -1,3 +1,3 @@
-MD5 (fityk-0.8.1.tar.bz2) = f93d2ce9b9c21e0d79d69f1adb797a66
-SHA256 (fityk-0.8.1.tar.bz2) = f0135432d93711255180c2d36b628642cb4f37b3f3e93dec6828c50797a6551c
-SIZE (fityk-0.8.1.tar.bz2) = 1294006
+MD5 (fityk-0.8.2.tar.bz2) = fc0fb1571f17f4415026193e8fb2ba38
+SHA256 (fityk-0.8.2.tar.bz2) = ec8782be043603dda6ddc5c34b5d0d5da5f1c603bbcb3fdeab75743c21602a4b
+SIZE (fityk-0.8.2.tar.bz2) = 1332533
diff --git a/math/fityk/pkg-plist b/math/fityk/pkg-plist
new file mode 100644
index 000000000000..b0c848698ec5
--- /dev/null
+++ b/math/fityk/pkg-plist
@@ -0,0 +1,15 @@
+bin/cfityk
+bin/fityk
+include/fityk.h
+lib/libfityk.a
+lib/libfityk.la
+lib/libfityk.so
+lib/libfityk.so.0
+share/applications/fityk.desktop
+%%DATADIR%%/fitykhelp.htb
+share/mime/packages/fityk.xml
+share/pixmaps/fityk.png
+@dirrm %%DATADIR%%
+@dirrmtry share/applications
+@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
+@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime