svn commit: r472362 - head/graphics/ufraw

Emanuel Haupt ehaupt at FreeBSD.org
Thu Jun 14 07:22:24 UTC 2018


Author: ehaupt
Date: Thu Jun 14 07:22:22 2018
New Revision: 472362
URL: https://svnweb.freebsd.org/changeset/ports/472362

Log:
  - Install .desktop file
  - Remove some cruft from Makefile
  
  PR:		228917
  Approved by:	rodrigo

Modified:
  head/graphics/ufraw/Makefile
  head/graphics/ufraw/pkg-plist

Modified: head/graphics/ufraw/Makefile
==============================================================================
--- head/graphics/ufraw/Makefile	Thu Jun 14 07:10:12 2018	(r472361)
+++ head/graphics/ufraw/Makefile	Thu Jun 14 07:22:22 2018	(r472362)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ufraw
 PORTVERSION=	0.22
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	graphics
 
 MAINTAINER=	rodrigo at FreeBSD.org
@@ -59,12 +59,7 @@ GNOME_USE=		GNOME=gconf2
 GNOME_CONFIGURE_ENABLE=	mime
 GNOME_VARS=		CATEGORIES+=gnome GCONF_SCHEMAS=${PORTNAME}.schemas
 
-#post-patch:
-#	echo "START REPLACE" ; \
-#	${REINPLACE_CMD} -e '18s|^$$|#include <sys/types.h>|' \
-#		${WRKSRC}/dcraw.h
-## Fix GConf2 schemas installation path; unconditionalize installation of
-## .desktop file; avoid conflict with `graphics/dcraw' (rename the binary)
-#	${REINPLACE_CMD} -e '/schemasdir/s|datadir|sysconfdir|'   ${WRKSRC}/Makefile.am
-#
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/ufraw.desktop ${STAGEDIR}${DESKTOPDIR}
+
 .include <bsd.port.mk>

Modified: head/graphics/ufraw/pkg-plist
==============================================================================
--- head/graphics/ufraw/pkg-plist	Thu Jun 14 07:10:12 2018	(r472361)
+++ head/graphics/ufraw/pkg-plist	Thu Jun 14 07:22:22 2018	(r472362)
@@ -3,6 +3,7 @@ bin/nikon-curve
 bin/ufraw
 bin/ufraw-batch
 man/man1/ufraw.1.gz
+share/applications/ufraw.desktop
 share/locale/ca/LC_MESSAGES/ufraw.mo
 share/locale/cs/LC_MESSAGES/ufraw.mo
 share/locale/da/LC_MESSAGES/ufraw.mo


More information about the svn-ports-head mailing list