diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-05-08 23:33:29 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-05-08 23:33:29 +0800 |
commit | 9b15dd55edd7722e199ab129da23d4a652a48673 (patch) | |
tree | 7f89f45418bc0a7873724d2e8a6ca2d884cec6a6 /editors | |
parent | d369535726f9a2ca403670c3e0286e30df7b7161 (diff) | |
download | freebsd-ports-graphics-9b15dd55edd7722e199ab129da23d4a652a48673.tar.gz freebsd-ports-graphics-9b15dd55edd7722e199ab129da23d4a652a48673.tar.zst freebsd-ports-graphics-9b15dd55edd7722e199ab129da23d4a652a48673.zip |
fix WANT_GNOME bug
bump PORTREVISION
Diffstat (limited to 'editors')
-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 00414a2c336..a941d5a7463 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 f5c17756d61..d8983f87e7a 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 |