From 6e926215f1c35d3bb7c4cf749673469676dbd268 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Wed, 13 Aug 2014 08:37:19 +0000 Subject: [PATCH] 1: Stagify. 2: add LICENSE --- editors/winefish/Makefile | 20 ++++---------------- editors/winefish/pkg-descr | 2 +- editors/winefish/pkg-plist | 3 +-- 3 files changed, 6 insertions(+), 19 deletions(-) diff --git a/editors/winefish/Makefile b/editors/winefish/Makefile index a449889ef7be..ef4774cb19db 100644 --- a/editors/winefish/Makefile +++ b/editors/winefish/Makefile @@ -12,6 +12,8 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= LaTeX editor based on BlueFish +LICENSE= GPLv2 + LIB_DEPENDS= libaspell.so:${PORTSDIR}/textproc/aspell \ libpcre.so:${PORTSDIR}/devel/pcre RUN_DEPENDS= dos2unix:${PORTSDIR}/converters/unix2dos \ @@ -19,12 +21,9 @@ RUN_DEPENDS= dos2unix:${PORTSDIR}/converters/unix2dos \ tidy:${PORTSDIR}/www/tidy-lib \ xpdf:${PORTSDIR}/graphics/xpdf -MAN1= winefish.1 -MANCOMPRESSED= no - CONFIGURE_ARGS+= --with-freedesktop_org-menu=${GNOME_LOCALSTATEDIR}/applications --with-icon-path=${GNOME_LOCALSTATEDIR}/pixmaps GNU_CONFIGURE= yes -USES= gmake pkgconfig +USES= gmake pkgconfig desktop-file-utils shared-mime-info USE_GNOME= libgnomeui desktopfileutils gnomehier USE_TEX= latex @@ -32,14 +31,10 @@ OPTIONS_DEFINE= CONTEXT VNTEX UNIKEY_GTK NLS DOCS CONTEXT_DESC= ConTexT support (Experimental) VNTEX_DESC= Vietnamese TeX user UNIKEY_GTK_DESC= Vietname Tex user with UnikeyGTK input method +CONTEXT_CONFIGURE_WITH= context -NO_STAGE= yes .include -.if ${PORT_OPTIONS:MCONTEXT} -CONFIGURE_ARGS+= --with-context -.endif - .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB= IFNLS= @@ -59,11 +54,4 @@ CONFIGURE_ARGS+= --disable-nls PLIST_SUB= IFNLS="@comment " .endif -post-install: - -@update-desktop-database -.if ! ${PORT_OPTIONS:MDOCS} - ${RM} ${DOCSDIR}/${PORTNAME}.html - ${RMDIR} ${DOCSDIR} -.endif - .include diff --git a/editors/winefish/pkg-descr b/editors/winefish/pkg-descr index b9f2772a000f..d5d441bf7f43 100644 --- a/editors/winefish/pkg-descr +++ b/editors/winefish/pkg-descr @@ -7,4 +7,4 @@ Main features: (3) UTF8 support Author: Ky Anh -WWW: http://winefish.berlios.de/ +WWW: http://winefish.berlios.de/ diff --git a/editors/winefish/pkg-plist b/editors/winefish/pkg-plist index 1f10aa077dda..5f730d71e27b 100644 --- a/editors/winefish/pkg-plist +++ b/editors/winefish/pkg-plist @@ -1,4 +1,5 @@ bin/winefish +man/man1/winefish.1.gz share/application-registry/winefish.applications share/applications/winefish.desktop share/applications/winefish-project.desktop @@ -28,5 +29,3 @@ share/mime/packages/winefish.xml %%DATADIR%%/words.default %%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm %%DATADIR%% -@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true -@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true