aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2010-10-12 06:21:49 +0000
committerWen Heping <wen@FreeBSD.org>2010-10-12 06:21:49 +0000
commitd787742dfb278446356d4e114ed5eb22e4f429aa (patch)
treee77d61acc150a06ab5f0676079404ec61896a696 /textproc
parent6c3241dda115274eb55f726dbecece99952b9110 (diff)
downloadports-d787742dfb278446356d4e114ed5eb22e4f429aa.tar.gz
ports-d787742dfb278446356d4e114ed5eb22e4f429aa.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/sigil/Makefile14
-rw-r--r--textproc/sigil/pkg-plist2
2 files changed, 15 insertions, 1 deletions
diff --git a/textproc/sigil/Makefile b/textproc/sigil/Makefile
index 0422beb379fb..5687707ff64a 100644
--- a/textproc/sigil/Makefile
+++ b/textproc/sigil/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sigil
PORTVERSION= 0.2.4
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTNAME= Sigil-${PORTVERSION}-Code
@@ -18,7 +19,18 @@ USE_ZIP= yes
USE_CMAKE= yes
USE_DOS2UNIX= DirEnumerator.cpp ZipFile_stl.cpp ZipPlatform_lnx.cpp
USE_QT_VER= 4
-QT_COMPONENTS= qmake gui svg webkit xml moc uic rcc
+QT_COMPONENTS= qmake gui svg webkit xml moc uic rcc imageformats
+
+DESKTOP_ENTRIES="Sigil Editor" \
+ "${COMMENT}" \
+ "${DATADIR}/sigil.png" \
+ "sigil" \
+ "Application;" \
+ ${FALSE}
+
+post-install:
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/src/Sigil/Resource_Files/icon/app_icon_48.png ${DATADIR}/sigil.png
.include <bsd.port.pre.mk>
diff --git a/textproc/sigil/pkg-plist b/textproc/sigil/pkg-plist
index b1795282a702..0ceb50e21f19 100644
--- a/textproc/sigil/pkg-plist
+++ b/textproc/sigil/pkg-plist
@@ -1 +1,3 @@
bin/sigil
+share/sigil/sigil.png
+@dirrm share/sigil