mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
fix WANT_GNOME bug
bump PORTREVISION
This commit is contained in:
parent
3c284bd8a8
commit
32290d7235
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58709
@ -8,7 +8,7 @@
|
||||
|
||||
PORTNAME= poedit
|
||||
PORTVERSION= 1.1.8
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -28,6 +28,7 @@ WANT_GNOME= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
||||
LIBS="-L${LOCALBASE}/lib -liconv ${PTHREAD_LIBS}"
|
||||
CONFIGURE_ARGS= --datadir=${PREFIX}/share
|
||||
USE_GMAKE= yes
|
||||
|
||||
MAN1= poedit.1
|
||||
@ -37,7 +38,14 @@ MAN1= poedit.1
|
||||
.if defined(HAVE_GNOME)
|
||||
USE_GNOME= yes
|
||||
.else
|
||||
CONFIGURE_ARGS= --without-gnome
|
||||
CONFIGURE_ARGS+= --without-gnome
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
||||
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
||||
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${PERL} -pi -e \
|
||||
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
||||
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,9 +1,10 @@
|
||||
bin/poedit
|
||||
share/poedit/help.zip
|
||||
share/poedit/resources.zip
|
||||
@dirrm share/poedit
|
||||
share/locale/cs/LC_MESSAGES/poedit.mo
|
||||
share/locale/zh_TW.Big5/LC_MESSAGES/poedit.mo
|
||||
%%GNOME:%%share/gnome/apps/Development/poedit.desktop
|
||||
%%GNOME:%%share/gnome/mime-info/poedit.keys
|
||||
%%GNOME:%%share/gnome/mime-info/poedit.mime
|
||||
%%GNOME:%%share/gnome/pixmaps/poedit.xpm
|
||||
%%GNOME:%%share/gnome/poedit/help.zip
|
||||
%%GNOME:%%share/gnome/poedit/resources.zip
|
||||
%%GNOME:%%share/gnome/locale/cs/LC_MESSAGES/poedit.mo
|
||||
%%GNOME:%%@dirrm share/gnome/poedit
|
||||
|
Loading…
Reference in New Issue
Block a user