aboutsummaryrefslogtreecommitdiff
path: root/japanese/ebview-gtk2
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2006-06-11 15:47:02 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2006-06-11 15:47:02 +0000
commitda83d81c45f2a5aa419c85fda9f8daf52de4083a (patch)
tree336d21db08005aedfb837e31e8ac48df9790e75e /japanese/ebview-gtk2
parent41592459c54fe9d521ba2d8f85147b78ba9a9c5c (diff)
downloadports-da83d81c45f2a5aa419c85fda9f8daf52de4083a.tar.gz
ports-da83d81c45f2a5aa419c85fda9f8daf52de4083a.zip
o To use Desktop Environment
- Install ebview.desktop. - Install ebview.xpm. - Change PREFIX to X11BASE. o Bump PORTREVISION, acordingly.
Notes
Notes: svn path=/head/; revision=165113
Diffstat (limited to 'japanese/ebview-gtk2')
-rw-r--r--japanese/ebview-gtk2/Makefile8
-rw-r--r--japanese/ebview-gtk2/files/ebview.desktop.in12
-rw-r--r--japanese/ebview-gtk2/pkg-plist2
3 files changed, 21 insertions, 1 deletions
diff --git a/japanese/ebview-gtk2/Makefile b/japanese/ebview-gtk2/Makefile
index 4666159b543e..2fd2dc80f0e7 100644
--- a/japanese/ebview-gtk2/Makefile
+++ b/japanese/ebview-gtk2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ebview
PORTVERSION= 0.3.6
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= japanese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -22,15 +22,21 @@ CONFLICTS= ja-ebview-0*
USE_GNOME= gtk20 gnometarget
USE_GMAKE= yes
+USE_X_PREFIX= yes
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--with-eb-conf=${LOCALBASE}/etc/eb.conf
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+SUB_FILES= ebview.desktop
+
post-patch:
@${REINPLACE_CMD} -e \
's|-pthread|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure
post-install:
+ ${INSTALL_DATA} ${WRKSRC}/pixmaps/ebview.xpm ${PREFIX}/share/pixmaps/
+ ${INSTALL_DATA} ${WRKDIR}/${SUB_FILES} ${PREFIX}/share/applications/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ChangeLog README
diff --git a/japanese/ebview-gtk2/files/ebview.desktop.in b/japanese/ebview-gtk2/files/ebview.desktop.in
new file mode 100644
index 000000000000..f69bec2e298c
--- /dev/null
+++ b/japanese/ebview-gtk2/files/ebview.desktop.in
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Encoding=UTF-8
+Terminal=false
+Name=EBView
+Name[ja]=EBView
+Comment=EPWING Dictionary Browser
+Comment[ja]=EPWING辞書ブラウザ
+Exec=%%PREFIX%%/bin/ebview
+TryExec=%%PREFIX%%/bin/ebview
+Icon=ebview.xpm
+Type=Application
+Categories=GTK;Application;Utility;
diff --git a/japanese/ebview-gtk2/pkg-plist b/japanese/ebview-gtk2/pkg-plist
index 54016db05ace..ba8a4af5c65d 100644
--- a/japanese/ebview-gtk2/pkg-plist
+++ b/japanese/ebview-gtk2/pkg-plist
@@ -14,7 +14,9 @@ bin/ebview
%%DATADIR%%/help/ja/index.html
%%DATADIR%%/searchengines.xml
%%DATADIR%%/shortcut.xml
+share/applications/ebview.desktop
share/locale/ja/LC_MESSAGES/ebview.mo
+share/pixmaps/ebview.xpm
@dirrm %%DATADIR%%/help/ja
@dirrm %%DATADIR%%/help/en
@dirrm %%DATADIR%%/help