From 9d58ecb3ee0e3cd05e2ad69ffc19daaaed53d3e1 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Thu, 29 May 2008 10:05:06 +0000 Subject: - Update to 1.9.1 PR: 124032 Submitted by: Ganael Laplanche (maintainer) --- deskutils/notecase/Makefile | 2 +- deskutils/notecase/distinfo | 6 ++--- deskutils/notecase/files/patch-Makefile | 45 ++++++++------------------------- 3 files changed, 14 insertions(+), 39 deletions(-) (limited to 'deskutils/notecase') diff --git a/deskutils/notecase/Makefile b/deskutils/notecase/Makefile index 41643c59287e..1c54ae93399e 100644 --- a/deskutils/notecase/Makefile +++ b/deskutils/notecase/Makefile @@ -6,7 +6,7 @@ # PORTNAME= notecase -PORTVERSION= 1.8.8 +PORTVERSION= 1.9.1 CATEGORIES= deskutils textproc MASTER_SITES= SF DISTNAME= ${PORTNAME}-${PORTVERSION}_src diff --git a/deskutils/notecase/distinfo b/deskutils/notecase/distinfo index bbfd7cd96524..971ef63fe377 100644 --- a/deskutils/notecase/distinfo +++ b/deskutils/notecase/distinfo @@ -1,3 +1,3 @@ -MD5 (notecase-1.8.8_src.tar.gz) = e830e9b654ec671edf90666828437f83 -SHA256 (notecase-1.8.8_src.tar.gz) = 84c43f0f0df5fff4a0353f5fbb747c8682eb2c963d0edf32d207efb372f89034 -SIZE (notecase-1.8.8_src.tar.gz) = 891728 +MD5 (notecase-1.9.1_src.tar.gz) = d6c900735ee7a03cd7f847ec1abe3378 +SHA256 (notecase-1.9.1_src.tar.gz) = 6e963423027eca4be4293d6aec6f4c5f9d524bd98819fe7719113b0877ef3699 +SIZE (notecase-1.9.1_src.tar.gz) = 898125 diff --git a/deskutils/notecase/files/patch-Makefile b/deskutils/notecase/files/patch-Makefile index 44414195605f..522065c2d056 100644 --- a/deskutils/notecase/files/patch-Makefile +++ b/deskutils/notecase/files/patch-Makefile @@ -1,5 +1,5 @@ ---- Makefile.orig 2008-04-28 15:58:53.000000000 +0200 -+++ Makefile 2008-04-28 16:06:53.000000000 +0200 +--- Makefile.orig 2008-05-21 12:28:06.000000000 +0200 ++++ Makefile 2008-05-27 12:30:12.154607211 +0200 @@ -13,6 +13,7 @@ prefix=/usr bindir=$(prefix)/bin @@ -8,26 +8,7 @@ # define top of RPM build area topdir=/usr/src/redhat -@@ -134,12 +135,18 @@ - ifdef OSX_BUILD - INSTALL=install -c - endif -+ifdef FREEBSD_BUILD -+ INSTALL=install -+endif - - #define proper sed (use gnused for Darwin?) - SED=sed -i - ifneq ($(OSX_BUILD),) - SED=sed -i.bak - endif -+ifneq ($(FREEBSD_BUILD),) -+ SED=sed -i.bak -+endif - - MD5SUM=md5sum - ifneq ($(OSX_BUILD),) -@@ -170,7 +177,7 @@ +@@ -177,7 +178,7 @@ ifdef WINDIR LD=$(QL) $(CXX) $(DEBUG) $(PROFILE) $(LDFLAGS) -L$(OBJ) -lz else @@ -36,30 +17,24 @@ endif ifndef OSX_BUILD -@@ -526,7 +533,7 @@ - rm -f po/messages.mo; \ - msgfmt $$i -o po/messages.mo; \ - echo "Installing: $(DESTDIR)$(datadir)/locale/$$loc/LC_MESSAGES/notecase.mo";\ -- if [ "$(OSX_BUILD)" = "1" ]; then \ -+ if [ "$(OSX_BUILD)" = "1" ] || [ "$(FREEBSD_BUILD)" = "1" ]; then \ - mkdir -p $(DESTDIR)$(datadir)/locale/$$loc/LC_MESSAGES/; \ - fi; \ - $(INSTALL) -m 644 po/messages.mo "$(DESTDIR)$(datadir)/locale/$$loc/LC_MESSAGES/notecase.mo"; \ -@@ -537,7 +544,12 @@ +@@ -544,18 +545,21 @@ pouninstall: @rm -vf $(DESTDIR)$(datadir)/locale/*/LC_MESSAGES/notecase.mo @echo done uninstalling translations - + +docinstall: -+ mkdir -p $(docsdir) ++ install -d -m 755 "$(docsdir)" + $(INSTALL) -m 644 -c docs/help.ncd "$(docsdir)/help.ncd" + $(INSTALL) -m 644 -c docs/license.txt "$(docsdir)/license.txt" + # # install application # -@@ -548,7 +560,6 @@ + install: notecase$(EXE) poinstall + install -d -m 755 $(DESTDIR)$(bindir) +- install -d -m 755 $(DESTDIR)$(datadir)/doc/notecase/ + install -d -m 755 $(DESTDIR)$(datadir)/applications/ install -d -m 755 $(DESTDIR)$(datadir)/mime/packages/ install -d -m 755 $(DESTDIR)$(datadir)/pixmaps/ $(INSTALL) -m 755 $(BIN)/notecase$(EXE) "$(DESTDIR)$(bindir)/notecase$(EXE)" @@ -67,7 +42,7 @@ $(INSTALL) -m 644 docs/notecase.xml "$(DESTDIR)$(datadir)/mime/packages/notecase.xml" $(Q)if [ -n "$(NOKIA_MAEMO_BUILD)" ]; then \ $(INSTALL) -m 644 docs/notecase.desktop "$(DESTDIR)$(datadir)/applications/hildon/notecase.desktop"; \ -@@ -740,7 +751,7 @@ +@@ -747,7 +751,7 @@ # # Note: first "make" command forces generating correct help file path in "config.h" # -- cgit v1.2.3