1: Stagify.

2: add LICENSE
This commit is contained in:
Vanilla I. Shu 2014-08-13 08:37:19 +00:00
parent 2543a0ea27
commit 6e926215f1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364759
3 changed files with 6 additions and 19 deletions

View File

@ -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 <bsd.port.options.mk>
.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 <bsd.port.mk>

View File

@ -7,4 +7,4 @@ Main features:
(3) UTF8 support
Author: Ky Anh <kyanh@users.berlios.de>
WWW: http://winefish.berlios.de/
WWW: http://winefish.berlios.de/

View File

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