From owner-svn-ports-all@FreeBSD.ORG Mon Dec 30 13:13:55 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 ESMTPS id A28534BB; Mon, 30 Dec 2013 13:13:55 +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 73F7E1B24; Mon, 30 Dec 2013 13:13:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBUDDtxe034664; Mon, 30 Dec 2013 13:13:55 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBUDDtBh034663; Mon, 30 Dec 2013 13:13:55 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201312301313.rBUDDtBh034663@svn.freebsd.org> From: William Grzybowski Date: Mon, 30 Dec 2013 13:13:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338110 - head/x11-toolkits/py-fltk 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: Mon, 30 Dec 2013 13:13:55 -0000 Author: wg Date: Mon Dec 30 13:13:54 2013 New Revision: 338110 URL: http://svnweb.freebsd.org/changeset/ports/338110 Log: x11-toolkits/py-fltk: support stage Deleted: head/x11-toolkits/py-fltk/pkg-plist Modified: head/x11-toolkits/py-fltk/Makefile Modified: head/x11-toolkits/py-fltk/Makefile ============================================================================== --- head/x11-toolkits/py-fltk/Makefile Mon Dec 30 13:08:40 2013 (r338109) +++ head/x11-toolkits/py-fltk/Makefile Mon Dec 30 13:13:54 2013 (r338110) @@ -17,17 +17,18 @@ LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11- USE_PYTHON= yes USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes USE_XORG= x11 -PYDISTUTILS_PKGNAME= pyFltk - MAKE_ENV+= FLTK_HOME=${LOCALBASE}/bin DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} XTRADOCS= CHANGES README TODO CFLAGS+= -DFL_LIBRARY -NO_STAGE= yes +PORTDOCS= * +PORTEXAMPLES= * + post-patch: @${REINPLACE_CMD} -e "s|/usr/X11R6|${LOCALBASE}|g;s|package_data.*},||g;s|sunos5|freebsd8', 'freebsd9', 'freebsd10|g" ${WRKSRC}/setup.py @@ -35,16 +36,14 @@ post-build: ${REINPLACE_CMD} -e "s|\.\./docs|${DOCSDIR}/html|g" ${WRKSRC}/fltk/test/help.py post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR}/html - ${INSTALL_DATA} ${WRKSRC}/fltk/docs/*.html ${DOCSDIR}/html - ${INSTALL_DATA} ${WRKSRC}/fltk/docs/*.jpg ${DOCSDIR}/html - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/fltk/test/*.py ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/fltk/test/HelpDialog.html ${EXAMPLESDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR}/html + ${INSTALL_DATA} ${WRKSRC}/fltk/docs/*.html ${STAGEDIR}${DOCSDIR}/html + ${INSTALL_DATA} ${WRKSRC}/fltk/docs/*.jpg ${STAGEDIR}${DOCSDIR}/html + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/fltk/test/*.py ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/fltk/test/HelpDialog.html ${STAGEDIR}${EXAMPLESDIR} .for i in ${XTRADOCS} - ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include