1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Update to 0.4.0

This commit is contained in:
Olivier Cochard 2017-01-13 15:46:42 +00:00
parent cd56c05b82
commit 82a2f3dbbb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431399
4 changed files with 69 additions and 21 deletions

View File

@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= editor
PORTVERSION= 0.3.0
PORTREVISION= 1
PORTVERSION= 0.4.0
CATEGORIES= editors
MASTER_SITES= http://www.defora.org/os/download/download/4326/
MASTER_SITES= http://www.defora.org/os/download/download/4398/
PKGNAMEPREFIX= deforaos-
DISTNAME= Editor-${PORTVERSION}
@ -14,17 +13,35 @@ COMMENT= DeforaOS desktop text editor
LICENSE= GPLv3
BUILD_DEPENDS= xsltproc:textproc/libxslt \
docbook-xsl>=0:textproc/docbook-xsl
LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \
libDesktop.so:x11/deforaos-libdesktop
libDesktop.so:x11/deforaos-libdesktop \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
MAKE_ARGS= PREFIX=${PREFIX}
USES= desktop-file-utils gettext pkgconfig
USE_GNOME= gtk20
MAKE_ARGS+= PREFIX=${PREFIX}
MAKE_ENV+= MANDIR=${STAGEDIR}${MANPREFIX}/man
MANDIRS= ${PREFIX}/share/man/man1
USES= desktop-file-utils pkgconfig
USE_GNOME= gtk20 cairo gdkpixbuf2
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl
post-patch-DOCS-off:
${REINPLACE_CMD} 's|data doc po|data po|' \
${WRKSRC}/Makefile
post-patch-NLS-off:
${REINPLACE_CMD} 's|po src tools|src tools|' \
${WRKSRC}/Makefile
post-patch:
@${REINPLACE_CMD} 's|-Wl,-pie||g' \
${WRKSRC}/tools/Makefile \
${WRKSRC}/src/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/editor \

View File

@ -1,2 +1,3 @@
SHA256 (Editor-0.3.0.tar.gz) = f08f3c7dacc416849eb9ce33b8d14ae0db90e8efc799b99ddb39fabcc7f98dd9
SIZE (Editor-0.3.0.tar.gz) = 33801
TIMESTAMP = 1484322291
SHA256 (Editor-0.4.0.tar.gz) = 6d74ef9880c3dacd9beb25c622db23f1814d7f629ddd0ca15abac2db49e0536c
SIZE (Editor-0.4.0.tar.gz) = 25363

View File

@ -0,0 +1,32 @@
--- doc/Makefile.orig 2017-01-13 15:29:31 UTC
+++ doc/Makefile
@@ -1,4 +1,4 @@
-TARGETS = $(OBJDIR)editor.1 $(OBJDIR)editor.html $(OBJDIR)filter.1 $(OBJDIR)filter.html
+TARGETS = $(OBJDIR)editor.1 $(OBJDIR)filter.1
OBJDIR =
PREFIX = /usr/local
DESTDIR =
@@ -25,23 +25,17 @@ $(OBJDIR)filter.html: filter.css.xml fil
clean:
$(RM) -- $(editor.1_OBJS) $(editor.html_OBJS) $(filter.1_OBJS) $(filter.html_OBJS)
./docbook.sh -c -P "$(PREFIX)" -- "editor.1"
- ./docbook.sh -c -P "$(PREFIX)" -- "editor.html"
./docbook.sh -c -P "$(PREFIX)" -- "filter.1"
- ./docbook.sh -c -P "$(PREFIX)" -- "filter.html"
distclean: clean
$(RM) -- $(TARGETS)
install: $(TARGETS)
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)editor.1"
- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)editor.html"
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)filter.1"
- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)filter.html"
uninstall:
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "editor.1"
- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "editor.html"
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "filter.1"
- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "filter.html"
.PHONY: all clean distclean install uninstall

View File

@ -1,11 +1,9 @@
bin/editor
bin/filter
share/applications/deforaos-editor.desktop
share/doc/html/Editor/editor.html
share/doc/html/Editor/filter.html
share/locale/de/LC_MESSAGES/Editor.mo
share/locale/es/LC_MESSAGES/Editor.mo
share/locale/fr/LC_MESSAGES/Editor.mo
share/locale/it/LC_MESSAGES/Editor.mo
share/man/man1/editor.1.gz
share/man/man1/filter.1.gz
%%PORTDOCS%%man/man1/editor.1.gz
%%PORTDOCS%%man/man1/filter.1.gz
%%NLS%%share/locale/de/LC_MESSAGES/Editor.mo
%%NLS%%share/locale/es/LC_MESSAGES/Editor.mo
%%NLS%%share/locale/fr/LC_MESSAGES/Editor.mo
%%NLS%%share/locale/it/LC_MESSAGES/Editor.mo