summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2006-07-16 06:42:52 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2006-07-16 06:42:52 +0000
commitb959a87b5ba11d50943be888936549582f95b0dc (patch)
treee028419ab648fd1b281fe5087919be29fbc89069
parentUpdate to 4.24 and unbreak (diff)
o Take care of $PREFIX/share/applications.
(including fix pkg-plist) o Bump PORTREVISION, accordingly. Pointy hat to: myself
Notes
Notes: svn path=/head/; revision=167959
-rw-r--r--japanese/ebview-gtk2/Makefile5
-rw-r--r--japanese/ebview-gtk2/pkg-plist1
2 files changed, 3 insertions, 3 deletions
diff --git a/japanese/ebview-gtk2/Makefile b/japanese/ebview-gtk2/Makefile
index 0a2202f91209..5272b3a6b36a 100644
--- a/japanese/ebview-gtk2/Makefile
+++ b/japanese/ebview-gtk2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ebview
PORTVERSION= 0.3.6
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= japanese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,8 +16,6 @@ PKGNAMESUFFIX= -gtk2
MAINTAINER= ports@FreeBSD.org
COMMENT= Electronic Book Viewer
-BROKEN= fails to install due to directory problem
-
LIB_DEPENDS= eb.10:${PORTSDIR}/japanese/eb
CONFLICTS= ja-ebview-0*
@@ -37,6 +35,7 @@ post-patch:
's|-pthread|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure
post-install:
+ ${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/pixmaps/ebview.xpm ${PREFIX}/share/pixmaps/
${INSTALL_DATA} ${WRKDIR}/${SUB_FILES} ${PREFIX}/share/applications/
.if !defined(NOPORTDOCS)
diff --git a/japanese/ebview-gtk2/pkg-plist b/japanese/ebview-gtk2/pkg-plist
index ba8a4af5c65d..bcdca75072df 100644
--- a/japanese/ebview-gtk2/pkg-plist
+++ b/japanese/ebview-gtk2/pkg-plist
@@ -21,4 +21,5 @@ share/pixmaps/ebview.xpm
@dirrm %%DATADIR%%/help/en
@dirrm %%DATADIR%%/help
@dirrm %%DATADIR%%
+@dirrmtry share/applications
%%PORTDOCS%%@dirrm %%DOCSDIR%%