From owner-svn-ports-all@FreeBSD.ORG Tue Mar 4 23:06:32 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BC966A2D; Tue, 4 Mar 2014 23:06:32 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A7E389BC; Tue, 4 Mar 2014 23:06:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s24N6WrY060604; Tue, 4 Mar 2014 23:06:32 GMT (envelope-from rm@svn.freebsd.org) Received: (from rm@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s24N6WT2060601; Tue, 4 Mar 2014 23:06:32 GMT (envelope-from rm@svn.freebsd.org) Message-Id: <201403042306.s24N6WT2060601@svn.freebsd.org> From: Ruslan Makhmatkhanov Date: Tue, 4 Mar 2014 23:06:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r347085 - in head/graphics/xli: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2014 23:06:32 -0000 Author: rm Date: Tue Mar 4 23:06:31 2014 New Revision: 347085 URL: http://svnweb.freebsd.org/changeset/ports/347085 QAT: https://qat.redports.org/buildarchive/r347085/ Log: graphics/xli: actually fix staging/packaging issue - actually fix staging/packaging issue by removing desthack (it doesn't work for imake) and utilize DESTDIR in Imakefile instead - add some more missing entries into PLIST_FILES - bump PORTREVISION once again since I still there: - use DEBIAN shortcut in MASTER_SITES - rename files/patch-aa to files/patch-Imakefile to conform PH Reported by: QAT (but not my poudriere) Submitted by: Zhihao Yuan (maintainer, by email) Added: head/graphics/xli/files/patch-Imakefile - copied, changed from r347071, head/graphics/xli/files/patch-aa Deleted: head/graphics/xli/files/patch-aa Modified: head/graphics/xli/Makefile Modified: head/graphics/xli/Makefile ============================================================================== --- head/graphics/xli/Makefile Tue Mar 4 23:04:41 2014 (r347084) +++ head/graphics/xli/Makefile Tue Mar 4 23:06:31 2014 (r347085) @@ -3,9 +3,9 @@ PORTNAME= xli PORTVERSION= 1.17.0 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= graphics -MASTER_SITES= ${MASTER_SITE_DEBIAN} +MASTER_SITES= DEBIAN MASTER_SITE_SUBDIR= pool/main/x/${PORTNAME} DISTNAME= xli_${PORTVERSION}+${XLI_SNAPVER:C/-//g}.orig @@ -17,15 +17,20 @@ LIB_DEPENDS= libpng15.so:${PORTSDIR}/gra CONFLICTS_INSTALL= xloadimage-* -USES= imake desthack +USES= imake USE_XORG= xi WRKSRC= ${WRKDIR}/xli-${XLI_SNAPVER} +PLIST_FILES= bin/xli bin/xlito bin/xview bin/xsetbg \ + lib/X11/app-defaults/Xli man/man1/xli.1.gz \ + man/man1/xlito.1.gz man/man1/xview.1.gz man/man1/xsetbg.1.gz + XLI_SNAPVER= 2006-11-10 -PLIST_FILES= bin/xli \ - bin/xlito \ - man/man1/xli.1.gz \ - man/man1/xlito.1.gz +post-install: + ${LN} -s ${MANPREFIX}/man/man1/xli.1.gz \ + ${STAGEDIR}${MANPREFIX}/man/man1/xview.1.gz + ${LN} -s ${MANPREFIX}/man/man1/xli.1.gz \ + ${STAGEDIR}${MANPREFIX}/man/man1/xsetbg.1.gz .include Copied and modified: head/graphics/xli/files/patch-Imakefile (from r347071, head/graphics/xli/files/patch-aa) ============================================================================== --- head/graphics/xli/files/patch-aa Tue Mar 4 20:52:09 2014 (r347071, copy source) +++ head/graphics/xli/files/patch-Imakefile Tue Mar 4 23:06:31 2014 (r347085) @@ -1,6 +1,6 @@ ---- Imakefile-- Mon Mar 26 11:31:28 2001 -+++ Imakefile Mon Mar 26 11:32:04 2001 -@@ -12,8 +12,8 @@ +--- Imakefile.orig 2006-11-11 00:52:14.000000000 -0500 ++++ Imakefile 2014-03-04 16:46:47.791670751 -0500 +@@ -13,17 +13,17 @@ CCOPTIONS = -Aa -D_HPUX_SOURCE #endif @@ -11,7 +11,9 @@ PNG_INCLUDES = PNG_LDFLAGS = -@@ -22,7 +22,7 @@ + +-SYSPATHFILE = $(XAPPLOADDIR)/Xli ++SYSPATHFILE = $(DESTDIR)$(XAPPLOADDIR)/Xli DEPLIBS = $(DEPXLIB) LOCAL_LIBRARIES = $(XLIB) $(JPEG_LDFLAGS) $(PNG_LDFLAGS) -ljpeg -lpng -lz SYS_LIBRARIES = -lm @@ -20,7 +22,19 @@ EXTRA_INCLUDES = $(JPEG_INCLUDES) $(PNG_INCLUDES) SRCS1 = bright.c clip.c cmuwmrast.c compress.c dither.c faces.c fbm.c fill.c g3.c gif.c halftone.c imagetypes.c img.c mac.c mcidas.c mc_tables.c merge.c misc.c new.c options.c path.c pbm.c pcx.c reduce.c jpeg.c rle.c rlelib.c root.c rotate.c send.c smooth.c sunraster.c value.c window.c xbitmap.c xli.c xpixmap.c xwd.c zio.c zoom.c ddxli.c tga.c bmp.c pcd.c png.c -@@ -47,7 +47,7 @@ +@@ -37,9 +37,8 @@ ComplexProgramTarget_1(xli,$(DEFINES) $( + ComplexProgramTarget_2(xlito,,) + + install:: $(SYSPATHFILE) +- $(RM) $(BINDIR)/xview $(BINDIR)/xsetbg +- $(LN) $(BINDIR)/xli $(BINDIR)/xview +- $(LN) $(BINDIR)/xli $(BINDIR)/xsetbg ++ $(LN) $(BINDIR)/xli $(DESTDIR)$(BINDIR)/xview ++ $(LN) $(BINDIR)/xli $(DESTDIR)$(BINDIR)/xsetbg + + $(SYSPATHFILE): + @echo "*** Creating default $(SYSPATHFILE) since you" +@@ -48,7 +47,7 @@ $(SYSPATHFILE): @echo "*** it for your site. See the xloadimage manual page for" @echo "*** details on the contents of this file." cp /dev/null $(SYSPATHFILE)