diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-11-29 08:31:28 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-11-29 08:31:28 +0000 |
commit | 026d5f936c124960885484d800de8349b1c709a2 (patch) | |
tree | 49d35e29d39a20693b2d2c2b73f04390cd78ea72 /math/gnumeric2/Makefile | |
parent | 433f3b1126a0227691fc941a542b2157ac8bd582 (diff) | |
download | ports-026d5f936c124960885484d800de8349b1c709a2.tar.gz ports-026d5f936c124960885484d800de8349b1c709a2.zip |
Update to 1.4.0. This update also represents work on the 1.3.x branch by
adamw, ahze, and mezz.
Notes
Notes:
svn path=/head/; revision=122738
Diffstat (limited to 'math/gnumeric2/Makefile')
-rw-r--r-- | math/gnumeric2/Makefile | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/math/gnumeric2/Makefile b/math/gnumeric2/Makefile index 94be84a0e032..60be1323da80 100644 --- a/math/gnumeric2/Makefile +++ b/math/gnumeric2/Makefile @@ -6,8 +6,7 @@ # PORTNAME= gnumeric2 -PORTVERSION= 1.2.13 -PORTREVISION= 1 +PORTVERSION= 1.4.0 CATEGORIES= math gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/${PORTVERSION:R} @@ -17,15 +16,12 @@ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= The GNOME 2 spreadsheet -BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/_gtk.so:${PORTSDIR}/x11-toolkits/py-gtk2 -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/_gtk.so:${PORTSDIR}/x11-toolkits/py-gtk2 - USE_BZIP2= yes USE_X_PREFIX= yes USE_PERL5= yes USE_GMAKE= yes -USE_GNOME= gnomeprefix gnomehack gnomehier libgnomeprintui libgnomedb \ - libgsf_gnome +USE_GNOME= gnomeprefix intlhack gnomehack gnomehier libgnomeprintui \ + libgnomedb libgsf_gnome pygtk2 USE_PYTHON= yes INSTALLS_OMF= yes USE_REINPLACE= yes @@ -36,25 +32,36 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ DEFS="-I${X11BASE}/include/gal-2.0" \ python_prog=${PYTHON_VERSION} -PLIST_SUB= VERSION=${PORTVERSION}-bonobo - -MAN1= gnumeric.1 ssconvert.1 GCONF_SCHEMAS= gnumeric-dialogs.schemas gnumeric-general.schemas \ gnumeric-plugins.schemas +PLIST_SUB= VERSION=${PORTVERSION} + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +# The Perl plug-ins don't build with Perl < 5.6.1 +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-plugins_Makefile.in +.endif + post-patch: + @cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' \ + src/tools/solver/lp_solve/commonlib.h \ + src/tools/solver/lp_solve/fortify.c \ + src/tools/solver/lp_solve/lp_Hash.c \ + src/tools/solver/lp_solve/lp_etaPFI.c \ + src/tools/solver/lp_solve/lp_lib.h \ + src/tools/solver/lp_solve/lp_rlp.c \ + src/tools/solver/lp_solve/lp_rlpt.c @${FIND} ${WRKSRC}/plugins -name "plugin.xml.in" | ${XARGS} \ ${REINPLACE_CMD} -e 's|\.la|.so|g' @${FIND} ${WRKSRC}/src/cut-n-paste-code/goffice/graph/plugins -name \ "plugin.xml.in" | ${XARGS} ${REINPLACE_CMD} -e 's|\.la|.so|g' @${RM} -f ${WRKSRC}/GNOME_Gnumeric.server.in - @${FIND} ${WRKSRC} -name "intltool-merge.in" | ${XARGS} ${REINPLACE_CMD} -e \ - 's|mkdir $$lang or|mkdir $$lang, 0777 or| ; \ - s|^push @INC, "/.*|push @INC, "${LOCALBASE}/share/intltool";|' post-install: .for dir in share/gnome lib @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/${dir}/gnumeric .endfor -.include <bsd.port.mk> +.include <bsd.port.post.mk> |