diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-05-08 15:33:29 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-05-08 15:33:29 +0000 |
commit | 32290d723556599becf3351b53618123866a8b28 (patch) | |
tree | 48a1be9bc1411887b3e6d572d38d4a1f7d4b1b70 /editors/poedit | |
parent | Update to 2.31 (diff) |
fix WANT_GNOME bug
bump PORTREVISION
Notes
Notes:
svn path=/head/; revision=58709
Diffstat (limited to 'editors/poedit')
-rw-r--r-- | editors/poedit/Makefile | 12 | ||||
-rw-r--r-- | editors/poedit/pkg-plist | 9 |
2 files changed, 15 insertions, 6 deletions
diff --git a/editors/poedit/Makefile b/editors/poedit/Makefile index 00414a2c336b..a941d5a74639 100644 --- a/editors/poedit/Makefile +++ b/editors/poedit/Makefile @@ -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> diff --git a/editors/poedit/pkg-plist b/editors/poedit/pkg-plist index f5c17756d612..d8983f87e7a5 100644 --- a/editors/poedit/pkg-plist +++ b/editors/poedit/pkg-plist @@ -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 |