1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

o To use Desktop Environment

- Install ebview.desktop.
  - Install ebview.xpm.
  - Change PREFIX to X11BASE.
o Bump PORTREVISION, acordingly.
This commit is contained in:
Norikatsu Shigemura 2006-06-11 15:47:02 +00:00
parent 41592459c5
commit da83d81c45
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=165113
3 changed files with 21 additions and 1 deletions

View File

@ -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

View File

@ -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;

View File

@ -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