diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2006-06-11 15:47:02 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2006-06-11 15:47:02 +0000 |
commit | da83d81c45f2a5aa419c85fda9f8daf52de4083a (patch) | |
tree | 336d21db08005aedfb837e31e8ac48df9790e75e /japanese | |
parent | 41592459c54fe9d521ba2d8f85147b78ba9a9c5c (diff) | |
download | ports-da83d81c45f2a5aa419c85fda9f8daf52de4083a.tar.gz ports-da83d81c45f2a5aa419c85fda9f8daf52de4083a.zip |
Notes
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/ebview-gtk2/Makefile | 8 | ||||
-rw-r--r-- | japanese/ebview-gtk2/files/ebview.desktop.in | 12 | ||||
-rw-r--r-- | japanese/ebview-gtk2/pkg-plist | 2 |
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 |