diff options
Diffstat (limited to 'math/gnumeric/Makefile')
-rw-r--r-- | math/gnumeric/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/math/gnumeric/Makefile b/math/gnumeric/Makefile index 52de4f561..7d4b416cb 100644 --- a/math/gnumeric/Makefile +++ b/math/gnumeric/Makefile @@ -3,7 +3,7 @@ # $MCom$ PORTNAME= gnumeric -PORTVERSION= 1.12.1 +PORTVERSION= 1.12.2 CATEGORIES= math gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 @@ -23,14 +23,14 @@ USE_XZ= yes USES= gettext pathfix desktop-file-utils shared-mime-info USE_GMAKE= yes USE_GNOME= gnomeprefix intlhack gnomehier libgsf pygobject3 -USE_PYTHON= 2.7- +USE_PYTHON= -2.7 INSTALLS_OMF= yes USE_LDCONFIG= yes INSTALLS_ICONS= yes GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} +CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ENV= LIBS="-liconv ${PTHREAD_LIBS}" \ +CONFIGURE_ENV= LIBS="-liconv -pthread" \ python_prog=${PYTHON_VERSION} MAKE_JOBS_SAFE= yes @@ -65,6 +65,10 @@ CONFIGURE_ARGS+= --without-gda PLIST_SUB+= GNOMEDB="@comment " #.endif +post-patch: + @${REINPLACE_CMD} -e 's|^GETTEXT_PACKAGE=gnumeric-$${VERSION}|GETTEXT_PACKAGE=gnumeric|g' \ + ${WRKSRC}/configure + post-install: ${INSTALL_DATA} ${WRKSRC}/gnumeric.desktop ${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/gnumeric.mime ${PREFIX}/share/mime-info |