From owner-svn-ports-head@FreeBSD.ORG Sun Dec 29 15:06:28 2013 Return-Path: Delivered-To: svn-ports-head@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 C1593739; Sun, 29 Dec 2013 15:06:28 +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 AD22919F8; Sun, 29 Dec 2013 15:06:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBTF6Sm5081004; Sun, 29 Dec 2013 15:06:28 GMT (envelope-from johans@svn.freebsd.org) Received: (from johans@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBTF6SPf081000; Sun, 29 Dec 2013 15:06:28 GMT (envelope-from johans@svn.freebsd.org) Message-Id: <201312291506.rBTF6SPf081000@svn.freebsd.org> From: Johan van Selst Date: Sun, 29 Dec 2013 15:06:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338004 - in head/graphics/xpaint: . 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-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Dec 2013 15:06:28 -0000 Author: johans Date: Sun Dec 29 15:06:27 2013 New Revision: 338004 URL: http://svnweb.freebsd.org/changeset/ports/338004 Log: - Enable STAGE support - Fix build issue with modern freetype - Fix bash path and add run-time dependency - Strip installed binaries - Bump PORTREVISION Modified: head/graphics/xpaint/Makefile head/graphics/xpaint/files/patch-util_Makefile head/graphics/xpaint/pkg-plist (contents, props changed) Modified: head/graphics/xpaint/Makefile ============================================================================== --- head/graphics/xpaint/Makefile Sun Dec 29 15:03:41 2013 (r338003) +++ head/graphics/xpaint/Makefile Sun Dec 29 15:06:27 2013 (r338004) @@ -3,7 +3,7 @@ PORTNAME= xpaint PORTVERSION= 2.9.9.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= SF/sf-${PORTNAME}/sf-${PORTNAME}/${PORTNAME}-${PORTVERSION:R} @@ -19,27 +19,26 @@ LIB_DEPENDS= libpng15.so:${PORTSDIR}/gra libfreetype.so:${PORTSDIR}/print/freetype2 \ libjbig.so:${PORTSDIR}/graphics/jbigkit \ libXaw3dxft.so:${PORTSDIR}/x11-toolkits/libxaw3dxft -RUN_DEPENDS= psselect:${PORTSDIR}/print/psutils +RUN_DEPENDS= psselect:${PORTSDIR}/print/psutils \ + bash:${PORTSDIR}/shells/bash USE_BZIP2= yes USE_XORG= xft xmu xpm USE_AUTOTOOLS= libtool USE_GHOSTSCRIPT_RUN=yes GNU_CONFIGURE= yes +USES= shebangfix +SHEBANG_FILES= share/bin/imgmerge share/bin/xpaint_ocr CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 LDFLAGS+= -L${LOCALBASE}/lib MAKE_ENV+= RM="${RM} -f" -MAN1= xpaint.1 pdfconcat.1 imgmerge.1 - -NO_STAGE= yes post-extract: @${RM} -f ${WRKSRC}/XPaint.ad post-patch: @${REINPLACE_CMD} -e 's/-ldl //' \ - -e 's|freetype/||g' \ ${WRKSRC}/configure ${WRKSRC}/rw/configure @${REINPLACE_CMD} -e '/^LIBTOOL/d' \ -e '/^install-exec-am:/s/install-libLTLIBRARIES//' \ Modified: head/graphics/xpaint/files/patch-util_Makefile ============================================================================== --- head/graphics/xpaint/files/patch-util_Makefile Sun Dec 29 15:03:41 2013 (r338003) +++ head/graphics/xpaint/files/patch-util_Makefile Sun Dec 29 15:06:27 2013 (r338004) @@ -32,26 +32,26 @@ - mkdir -p $(DESTDIR)/usr/share/man/man1 ; \ - install -c -m 644 pdfconcat.1 $(DESTDIR)/usr/share/man/man1 ; \ - echo "install -c pdfconcat.1 $(DESTDIR)/usr/share/man/man1" ; fi -+ mkdir -p $(PREFIX)/bin ; \ -+ install -c pdfconcat $(PREFIX)/bin ; \ -+ echo "install -c pdfconcat $(PREFIX)/bin" ; \ -+ mkdir -p $(PREFIX)/man/man1 ; \ -+ install -c -m 644 pdfconcat.1 $(PREFIX)/man/man1 ; \ -+ echo "install -c pdfconcat.1 $(PREFIX)/man/man1" ; fi ++ mkdir -p $(DESTDIR)$(PREFIX)/bin ; \ ++ install -c pdfconcat $(DESTDIR)$(PREFIX)/bin ; \ ++ echo "install -c pdfconcat $(DESTDIR)$(PREFIX)/bin" ; \ ++ mkdir -p $(DESTDIR)$(PREFIX)/man/man1 ; \ ++ install -c -m 644 pdfconcat.1 $(DESTDIR)$(PREFIX)/man/man1 ; \ ++ echo "install -c pdfconcat.1 $(DESTDIR)$(PREFIX)/man/man1" ; fi @if [ -x ppmtops ] ; then \ - mkdir -p $(DESTDIR)/usr/bin ; \ - install -c ppmtops $(DESTDIR)/usr/bin ; \ - echo "install -c ppmtops $(DESTDIR)/usr/bin" ; fi -+ mkdir -p $(PREFIX)/bin ; \ -+ install -c ppmtops $(PREFIX)/bin ; \ -+ echo "install -c ppmtops $(PREFIX)/bin" ; fi ++ mkdir -p $(DESTDIR)$(PREFIX)/bin ; \ ++ install -c -s ppmtops $(DESTDIR)$(PREFIX)/bin ; \ ++ echo "install -c ppmtops $(DESTDIR)$(PREFIX)/bin" ; fi @if [ -x pgf2pnm ] ; then \ - mkdir -p $(DESTDIR)/usr/bin ; \ - install -c pgf2pnm $(DESTDIR)/usr/bin ; \ - echo "install -c pgf2pnm $(DESTDIR)/usr/bin" ; fi -+ mkdir -p $(PREFIX)/bin ; \ -+ install -c pgf2pnm $(PREFIX)/bin ; \ -+ echo "install -c pgf2pnm $(PREFIX)/bin" ; fi ++ mkdir -p $(DESTDIR)$(PREFIX)/bin ; \ ++ install -c pgf2pnm $(DESTDIR)$(PREFIX)/bin ; \ ++ echo "install -c pgf2pnm $(DESTDIR)$(PREFIX)/bin" ; fi clean: rm -f core *~ *.o pdfconcat ppmtops pgf2pnm Modified: head/graphics/xpaint/pkg-plist ============================================================================== --- head/graphics/xpaint/pkg-plist Sun Dec 29 15:03:41 2013 (r338003) +++ head/graphics/xpaint/pkg-plist Sun Dec 29 15:06:27 2013 (r338004) @@ -5,6 +5,9 @@ bin/xpaint lib/X11/app-defaults/XPaint lib/X11/app-defaults/XPaint_es lib/X11/app-defaults/XPaint_fr +man/man1/imgmerge.1.gz +man/man1/pdfconcat.1.gz +man/man1/xpaint.1.gz %%DATADIR%%/XPaintIcon.xpm %%DATADIR%%/bin/xpaint_ocr %%DATADIR%%/bitmaps/brushbox.cfg