From owner-svn-ports-all@FreeBSD.ORG Fri Nov 8 18:47:56 2013 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 ESMTP id 8BE17D1D; Fri, 8 Nov 2013 18:47:56 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) 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 683522AA4; Fri, 8 Nov 2013 18:47:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA8Ilu3m004169; Fri, 8 Nov 2013 18:47:56 GMT (envelope-from dinoex@svn.freebsd.org) Received: (from dinoex@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA8IltaL004165; Fri, 8 Nov 2013 18:47:55 GMT (envelope-from dinoex@svn.freebsd.org) Message-Id: <201311081847.rA8IltaL004165@svn.freebsd.org> From: Dirk Meyer Date: Fri, 8 Nov 2013 18:47:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333257 - in head/misc/magicpoint: . 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.14 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: Fri, 08 Nov 2013 18:47:56 -0000 Author: dinoex Date: Fri Nov 8 18:47:55 2013 New Revision: 333257 URL: http://svnweb.freebsd.org/changeset/ports/333257 Log: - use prefixed DEPENDS and CONFIGURE - fix build warnings Added: head/misc/magicpoint/files/patch-ctlwords.c (contents, props changed) Deleted: head/misc/magicpoint/files/patch-xmindpath-Makefile.in Modified: head/misc/magicpoint/Makefile head/misc/magicpoint/pkg-plist Modified: head/misc/magicpoint/Makefile ============================================================================== --- head/misc/magicpoint/Makefile Fri Nov 8 18:37:05 2013 (r333256) +++ head/misc/magicpoint/Makefile Fri Nov 8 18:47:55 2013 (r333257) @@ -15,17 +15,15 @@ LIB_DEPENDS+= png15:${PORTSDIR}/graphics RUN_DEPENDS+= pnmscale:${PORTSDIR}/graphics/netpbm MAKE_JOBS_UNSAFE= yes -NO_STAGE= yes USES= imake:env pkgconfig USE_XORG= x11 xext xmu xt sm ice xi xtst WANT_GNOME= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-vflib --enable-locale +CPPFLAGS+= -I.. LATE_INSTALL_ARGS= install.man -MAN1= mgp.1 mgp2ps.1 mgpembed.1 mgpnet.1 xwintoppm.1 xmindpath.1 - PORTDOCS= ${DOCS} sample emacs-lisp scripts DOCS= COPYRIGHT COPYRIGHT.jp FAQ README README.fonts \ README.fonts.jp README.lang RELNOTES SYNTAX TODO.jp \ @@ -46,38 +44,24 @@ OPTIONS_DEFINE=FREETYPE XFT GIF IMLIB OPTIONS_DEFAULT=FREETYPE XFT NO_OPTIONS_SORT=yes -.include +FREETYPE_CONFIGURE_ENABLE= freetype +XFT_USES= iconv +XFT_LIB_DEPENDS= libttf.so:${PORTSDIR}/print/freetype +XFT_CONFIGURE_ENABLE= xft2 +XFT_CONFIGURE_ON= --enable-freetype-charset16 +GIF_CONFIGURE_ENABLE= gif +GIF_LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib +GIF_CPPFLAGS= -I${LOCALBASE}/include +IMLIB_CONFIGURE_ENABLE= imlib -.if ${PORT_OPTIONS:MFREETYPE} -# Only freetype 1.x is supported -LIB_DEPENDS+= ttf:${PORTSDIR}/print/freetype -CONFIGURE_ARGS+= --enable-freetype \ - --enable-freetype-charset16 -.else -CONFIGURE_ARGS+= --disable-freetype -.endif +.include .if ${PORT_OPTIONS:MXFT} -USES+= iconv USE_XORG+= xft -CONFIGURE_ARGS+= --enable-xft2 -.else -CONFIGURE_ARGS+= --disable-xft2 -.endif - -.if ${PORT_OPTIONS:MGIF} -LIB_DEPENDS+= gif:${PORTSDIR}/graphics/giflib -CONFIGURE_ARGS+= --enable-gif -CFLAGS+= -I${LOCALBASE}/include -.else -CONFIGURE_ARGS+= --disable-gif .endif .if ${PORT_OPTIONS:MIMLIB} -USE_GNOME= imlib -CONFIGURE_ARGS+= --enable-imlib -.else -CONFIGURE_ARGS+= --disable-imlib +USE_GNOME+= imlib .endif post-patch: @@ -86,33 +70,39 @@ post-patch: ${WRKSRC}/configure post-configure: - (cd ${CONFIGURE_WRKSRC} && ${SETENV} ${MAKE_ENV} ${XMKMF} ${XMKMF_ARGS}) + cd ${CONFIGURE_WRKSRC} && \ + ${SETENV} ${MAKE_ENV} ${XMKMF} ${XMKMF_ARGS} cd ${WRKSRC}/contrib/xmindpath && \ ${SH} ${CONFIGURE_SCRIPT} --prefix=${PREFIX} post-build: cd ${WRKSRC}/contrib/xmindpath && \ - ${MAKE} + ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} post-install: - cd ${WRKSRC}/contrib/xmindpath && \ - ${MAKE} install + ${INSTALL_MAN} ${WRKSRC}/contrib/xmindpath/xmindpath.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1/ + ${INSTALL} ${WRKSRC}/contrib/xmindpath/xmindpath \ + ${STAGEDIR}${PREFIX}/bin/ .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && \ - ${INSTALL_DATA} ${DOCS} ${DOCSDIR} - ${MKDIR} ${DOCSDIR}/sample + ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}/ + ${MKDIR} ${STAGEDIR}${DOCSDIR}/sample cd ${WRKSRC}/sample && \ - ${INSTALL_DATA} ${SAMPLES} ${DOCSDIR}/sample/ - ${MKDIR} ${DOCSDIR}/emacs-lisp + ${INSTALL_DATA} ${SAMPLES} ${STAGEDIR}${DOCSDIR}/sample/ + ${MKDIR} ${STAGEDIR}${DOCSDIR}/emacs-lisp cd ${WRKSRC}/contrib && \ - ${INSTALL_DATA} ${EMACS_LISPS} ${DOCSDIR}/emacs-lisp/ - ${MKDIR} ${DOCSDIR}/emacs-lisp/mgp-el + ${INSTALL_DATA} ${EMACS_LISPS} \ + ${STAGEDIR}${DOCSDIR}/emacs-lisp/ + ${MKDIR} ${STAGEDIR}${DOCSDIR}/emacs-lisp/mgp-el cd ${WRKSRC}/contrib/mgp-el && \ - ${INSTALL_DATA} ${EMACS_LISPS_MGP} ${DOCSDIR}/emacs-lisp/mgp-el - ${MKDIR} ${DOCSDIR}/scripts + ${INSTALL_DATA} ${EMACS_LISPS_MGP} \ + ${STAGEDIR}${DOCSDIR}/emacs-lisp/mgp-el/ + ${MKDIR} ${STAGEDIR}${DOCSDIR}/scripts cd ${WRKSRC}/contrib && \ - ${INSTALL_SCRIPT} ${SAMPLE_SCRIPTS} ${DOCSDIR}/scripts/ + ${INSTALL_SCRIPT} ${SAMPLE_SCRIPTS} \ + ${STAGEDIR}${DOCSDIR}/scripts/ .endif .include Added: head/misc/magicpoint/files/patch-ctlwords.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/magicpoint/files/patch-ctlwords.c Fri Nov 8 18:47:55 2013 (r333257) @@ -0,0 +1,10 @@ +--- ctlwords.c.orig 1999-02-15 00:02:25.000000000 +0100 ++++ ctlwords.c 2013-11-08 09:05:06.000000000 +0100 +@@ -24,6 +24,7 @@ + + #include + #include ++#include + + main(int argc, char *argv[]) + { Modified: head/misc/magicpoint/pkg-plist ============================================================================== --- head/misc/magicpoint/pkg-plist Fri Nov 8 18:37:05 2013 (r333256) +++ head/misc/magicpoint/pkg-plist Fri Nov 8 18:47:55 2013 (r333257) @@ -8,4 +8,10 @@ lib/X11/mgp/default.mgp lib/X11/mgp/mgp1.jpg lib/X11/mgp/mgp2.jpg lib/X11/mgp/mgp3.jpg +man/man1/mgp.1.gz +man/man1/mgp2ps.1.gz +man/man1/mgpembed.1.gz +man/man1/mgpnet.1.gz +man/man1/xwintoppm.1.gz +man/man1/xmindpath.1.gz @dirrm lib/X11/mgp