aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-10-12 14:21:49 +0800
committerwen <wen@FreeBSD.org>2010-10-12 14:21:49 +0800
commit1ea24e201e4cccde27614410cf0c9d20783e6b84 (patch)
treefd4673d30bce3a5dd666112ed503eaba37537f0b /textproc
parent9eafa833b9be9ccc9dd2e1fc13afa1837dd0071b (diff)
downloadfreebsd-ports-gnome-1ea24e201e4cccde27614410cf0c9d20783e6b84.tar.gz
freebsd-ports-gnome-1ea24e201e4cccde27614410cf0c9d20783e6b84.tar.zst
freebsd-ports-gnome-1ea24e201e4cccde27614410cf0c9d20783e6b84.zip
- Add support for image formats other than PNG
- Add desktop menu-entry PR: ports/150515 Submitted by: Jonathan Chen <jonc@chen.org.nz> (maintainer)
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