aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2013-11-08 18:37:42 +0800
committermartymac <martymac@FreeBSD.org>2013-11-08 18:37:42 +0800
commit8ad0880c655fea933e892a99aaccfad8b301a013 (patch)
tree20ff8c69679c4e987d97a7d02b3ccd013c8a3549 /deskutils
parenta3f3d8c1b10e36b4ff7c5282fb60284d435cfa49 (diff)
downloadfreebsd-ports-gnome-8ad0880c655fea933e892a99aaccfad8b301a013.tar.gz
freebsd-ports-gnome-8ad0880c655fea933e892a99aaccfad8b301a013.tar.zst
freebsd-ports-gnome-8ad0880c655fea933e892a99aaccfad8b301a013.zip
- Enable staging
- Update USES - Rework doc installation - Strip installed binary
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/notecase/Makefile13
-rw-r--r--deskutils/notecase/files/patch-Makefile6
-rw-r--r--deskutils/notecase/pkg-plist4
3 files changed, 10 insertions, 13 deletions
diff --git a/deskutils/notecase/Makefile b/deskutils/notecase/Makefile
index cfc735fffe17..d95fae756436 100644
--- a/deskutils/notecase/Makefile
+++ b/deskutils/notecase/Makefile
@@ -3,7 +3,7 @@
PORTNAME= notecase
PORTVERSION= 1.9.8
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= deskutils textproc
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}_src
@@ -13,22 +13,16 @@ COMMENT= Hierarchical text notes manager
LICENSE= BSD
-USE_GMAKE= yes
USE_GNOME= gtk20 gtksourceview2 gnomevfs2
-USES= desktop-file-utils gettext pkgconfig shared-mime-info
+USES= gmake desktop-file-utils gettext pkgconfig shared-mime-info
USE_DOS2UNIX= yes
DOS2UNIX_REGEX= .*\.(c|h|cpp)
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= help.ncd
INSTALL_TARGET= install docinstall
-.endif
post-patch:
@${REINPLACE_CMD} -e 's|^prefix=.*|prefix=${PREFIX}|' \
@@ -36,4 +30,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|^docsdir=.*|docsdir=${DOCSDIR}|' \
${WRKSRC}/Makefile
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/notecase
+
.include <bsd.port.mk>
diff --git a/deskutils/notecase/files/patch-Makefile b/deskutils/notecase/files/patch-Makefile
index de6491374d24..c4a85f4ef2c3 100644
--- a/deskutils/notecase/files/patch-Makefile
+++ b/deskutils/notecase/files/patch-Makefile
@@ -1,5 +1,5 @@
--- Makefile.orig 2008-12-09 11:07:06.000000000 +0100
-+++ Makefile 2011-06-23 19:11:55.067358819 +0200
++++ Makefile 2013-11-05 17:07:34.000000000 +0100
@@ -10,9 +10,10 @@
VERSION=1.9.8
@@ -27,8 +27,8 @@
-
+
+docinstall:
-+ install -d -m 755 "$(docsdir)"
-+ $(INSTALL) -m 644 -c docs/help.ncd "$(docsdir)/help.ncd"
++ install -d -m 755 "$(DESTDIR)$(docsdir)"
++ $(INSTALL) -m 644 -c docs/help.ncd "$(DESTDIR)$(docsdir)/help.ncd"
+
#
# install application
diff --git a/deskutils/notecase/pkg-plist b/deskutils/notecase/pkg-plist
index 20073ac56eca..0c133afd1ebf 100644
--- a/deskutils/notecase/pkg-plist
+++ b/deskutils/notecase/pkg-plist
@@ -34,9 +34,9 @@ share/locale/ta/LC_MESSAGES/notecase.mo
share/locale/tr/LC_MESSAGES/notecase.mo
share/locale/zh_CN/LC_MESSAGES/notecase.mo
share/locale/zh_TW/LC_MESSAGES/notecase.mo
-share/mime/application/notecase-enc.xml
-share/mime/application/notecase-plain.xml
share/mime/packages/notecase.xml
+@dirrmtry share/mime/packages
+@dirrmtry share/mime
share/pixmaps/notecase.xpm
@dirrmtry share/locale/fr_CA/LC_MESSAGES
@dirrmtry share/locale/fr_CA
>* patch fromtrevor2004-02-013-6/+6 * The linux-atk port was repo-copied into the accessibility category.trevor2004-01-304-3/+4 * Chase the new locations for gnomespeech and gnomemag.marcus2004-01-221-2/+2 * Repocopy x11/gnopernicus to accessibility/gnopernicus.marcus2004-01-221-1/+1 * Start to populate the new accessibility physical category after respectivemarcus2004-01-2210-9/+17 * Add accessibility and x11-themes as new physical categories.marcus2004-01-202-0/+5 * Add a missing BUILD_DEPENDS on intltool.marcus2004-01-191-0/+2 * Update to 3.2.2.marcus2004-01-164-14/+4 * Update to 1.3.11.marcus2004-01-132-2/+2 * Update to 0.10.5.marcus2004-01-136-4/+10 * Merge a forgotten line from my GNOME 2.5 repo.marcus2004-01-041-1/+1 * Add a missing USE_REINPLACE.marcus2004-01-031-0/+1 * Merge diffs from my GNOME 2.5 repo.marcus2004-01-035-16/+67 * New port: misc/dasher, text entry system (for people with disabilities)edwin2004-01-034-0/+51 * s/rpm2cpio/rpm2cpio.pl/ after the recent update of archivers/rpm2cpio (thenetchild2003-12-123-6/+6 * Fix build on -STABLE.marcus2003-12-102-0/+20 * Update to 0.10.4.marcus2003-12-108-4/+32 * Update to 0.2.8.marcus2003-12-094-4/+4 * Fix build on -STABLE.marcus2003-12-061-0/+11 * Update to 1.3.9.adamw2003-12-063-25/+2 * Fix packing list.trevor2003-11-203-6/+6 * Decrease PORTREVISION from 2 to 0. I hope no one has installedtrevor2003-11-193-0/+3 * new Linux/i386 binary port of Accessibility Toolkit librarytrevor2003-11-199-0/+129 * USE_REINPLACE need be defined only when REINPLACE_CMD is used.trevor2003-11-176-6/+0 * Looks like they re-rolled the atk tarball to re-include the API documentation.marcus2003-10-213-1/+33 * Update to 0.8.4.marcus2003-10-144-18/+53 * Update to 1.3.8.marcus2003-10-142-2/+2 * Remove a patch forgotten in the last commit.marcus2003-10-101-27/+0 * Update to 1.4.1.adamw2003-10-106-38/+6 * Update to 0.7.1.marcus2003-10-083-10/+10 * Correct some obsolete MASTER_SITESmarcus2003-10-061-1/+1 * Fix build under -STABLE.adamw2003-09-301-0/+16 * Update to 0.8.3.marcus2003-09-303-53/+3 * Add gnopernicus, and accessibility launcher for the GNOME desktop.marcus2003-09-185-0/+591 * Add gnomespeech, a library that facilitates text-to-speech for the GNOMEmarcus2003-09-1810-0/+220 * Remove a patch forgotten in the last commit.marcus2003-09-181-0/+0 * Update to GNOME 2.4.0. For all the goodies on what's changed, known issues,marcus2003-09-1818-141/+220 * Update to 0.10.3.adamw2003-09-096-4/+42 * Update to 1.2.1.marcus2003-07-164-15/+6 * Remove REINPLACE commands that were rolled into gnomehack.adamw2003-06-122-8/+0 * Update to 0.7.5.adamw2003-06-073-2/+5 * Update to 0.7.4.marcus2003-06-034-6/+70 * Update to 1.2.2.marcus2003-05-132-2/+2 * Update to 1.2.4.marcus2003-05-133-2/+8 * Add gnomemag, the GNOME screen magnifier.marcus2003-05-1210-0/+164 * * Update to 0.7.1marcus2003-05-083-60/+62 * Remove an extra directory.marcus2003-05-071-0/+1 * Convert to new GNOME infrastructure.marcus2003-04-221-5/+1 * atspi implies atk.adamw2003-04-211-1/+1 * Remove USE_GNOMENG.marcus2003-04-211-1/+0 * Update to 1.2.1.marcus2003-04-172-7/+3 * * Update to 1.2.3marcus2003-04-163-9/+28 * The GNOME On-Screen Keyboard (GOK) is an accessability interfaceadamw2003-04-154-0/+166 * Clear moonlight beckons.ade2003-03-076-3/+3 * GC empty files.sobomax2003-02-241-0/+0 * Update to GNOME 2.2.marcus2003-02-0812-49/+106 * GNOME has just changed the layout of their FTP site. This resulted inmarcus2002-09-213-3/+3 * Update to 1.0.2.marcus2002-08-295-32/+4 * Update to 1.0.3.marcus2002-08-042-3/+3 * * Fix packaging error on bentomarcus2002-07-292-12/+3 * Chase gailutil's version bump.marcus2002-07-241-1/+2 * Add patch forgotten in the last commit.marcus2002-07-241-0/+11 * Update to 0.17.marcus2002-07-243-4/+11 * Use USE_REINPLACE.sobomax2002-07-191-2/+3 * Use USE_REINPLACE.sobomax2002-07-111-2/+3 * The FreeBSD GNOME team is proud to present GNOME 2.0 Release.marcus2002-07-013-3/+3 * Update to GNOME 2.0 RC2.marcus2002-06-263-3/+3 * Update to GNOME 2.0 Release Candidate 1...the "Fever Pitch" release.marcus2002-06-157-11/+12 * Finish up the '\' tag team with sobomax, and hopefully get atk buildingmarcus2002-06-111-1/+1 * Kill offending `\'.sobomax2002-06-111-1/+1 * Update to the latest GNOME 2 snapshot. This will be done it two parts.marcus2002-06-1110-66/+19 * Make gail use X prefix. Bump PORTREVISION as this is required for glade2marcus2002-06-031-0/+2 * Update to 1.0.2.marcus2002-06-022-3/+4 * Update to the latest GNOME 2.0 snapshot, the "Stay on target!" release.marcus2002-05-293-3/+3 * Back to betas...Update to GNOME 2.0 beta 5.marcus2002-05-203-3/+3 * Update to GNOME 2.0 RC2.marcus2002-05-123-3/+3 * Update to GNOME 2.0 RC 1.marcus2002-05-023-3/+3 * Move back to share/gnome as a datadir.marcus2002-05-012-25/+26 * Use GNOME2 beta4 download location for all GNOME2 ports.sobomax2002-04-262-2/+2 * Install <libspi/stateset.h> include, because it's referenced fromsobomax2002-04-262-2/+12 * - Update to 0.12.1 (version found in the GNOME2 beta4);sobomax2002-04-266-54/+34 * - Update to 0.13 (version found in the GNOME2 beta4);sobomax2002-04-265-54/+23 * Use USE_LIBTOOL.sobomax2002-04-263-46/+14 * Change the GNOME 2.0 library ports to use share/gnome2 instead of share/gnomemarcus2002-04-232-24/+26 * Add at-spi 0.10.0, an Assistive Technology Service Provider Interface for GNOME.sobomax2002-04-1211-0/+257 * Add `@dirrm lib/gtk-2.0/modules'.sobomax2002-04-091-0/+1 * Update to GNOME 2.0 beta3.marcus2002-04-075-47/+9 * Bring up already ported portion on GNOME2 development platform on par withsobomax2002-03-123-23/+23 * Update gtk/glib to the version 2.0 and other related ports to the latestsobomax2002-03-123-6/+8 * Update all components of the GNOME 2.0 to the versions included into GNOMEsobomax2002-02-276-12/+9 * Remove pkgconfig from ${BUILD,RUN}_DEPENDS - it's inherited with anothersobomax2002-02-211-2/+0 * Add gail 0.6, an implementation of the ATK interfaces for GTK+ widgets.sobomax2002-02-177-0/+159 * Update to 0.10.sobomax2002-02-124-9/+28 * Update to 0.9.sobomax2002-01-183-9/+14 * Backout previous change - it seems that new revision of the patch doesn'tsobomax2001-12-201-17/+8 * Don't filter libc_r on 5-CURRENT.sobomax2001-12-201-8/+17 * Style police: WWW tags should either end in a file/script or TRAILING /; Fix ...lioux2001-11-211-1/+1 * Don't link in libc - FreeBSD doesn't need this.sobomax2001-10-311-4/+14