Date: Tue, 22 Apr 2014 15:56:12 +0200 (CEST) From: Bartek Rutkowski <ports@robakdesign.com> To: FreeBSD-gnats-submit@freebsd.org Cc: tota@FreeBSD.org Subject: ports/188891: [PATCH] graphics/py-blockdiag: stage Message-ID: <201404221356.s3MDuCb9037478@poudriere.ithil.palantiri.org> Resent-Message-ID: <201404221400.s3ME01Sx068484@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 188891 >Category: ports >Synopsis: [PATCH] graphics/py-blockdiag: stage >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Apr 22 14:00:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Bartek Rutkowski >Release: FreeBSD 11.0-CURRENT amd64 >Organization: Pixeware LTD >Environment: System: FreeBSD poudriere.ithil.palantiri.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r264341: Fri Apr 11 15:28:07 CEST >Description: - Stage - Drop easy_install - Use auto plist - Delete pkg-plist - Pet portlint http://poudriere.ithil.palantiri.org:8080/latest-per-pkg/py27-blockdiag/1.2.4/ Port maintainer (tota@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: change, diff: SVN) >How-To-Repeat: >Fix: --- py-blockdiag-1.2.4.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 351835) +++ Makefile (working copy) @@ -8,7 +8,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tota@FreeBSD.org -COMMENT= A simple block-diagram image generator +COMMENT= Simple block-diagram image generator LICENSE= APACHE20 @@ -20,10 +20,9 @@ UNIQUENAME= py-${PORTNAME} USE_PYTHON= 2 -USE_PYDISTUTILS= easy_install +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes -MAN1= ${PORTNAME}.1 - DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} @@ -36,7 +35,6 @@ OPTIONS_DEFAULT= PDF -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MPDF} @@ -49,22 +47,12 @@ post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${INSTALL_WRKSRC}/src/${PORTDOCS} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${INSTALL_WRKSRC}/src/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif .if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${INSTALL_WRKSRC}/examples/${PORTEXAMPLES} ${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @${INSTALL_DATA} ${INSTALL_WRKSRC}/examples/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} .endif - @${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1/ -x-generate-plist: - ${ECHO} bin/blockdiag > pkg-plist.new - ${FIND} ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG} -type f | ${SORT} | \ - ${SED} -e 's,${PYTHON_SITELIBDIR},%%PYTHON_SITELIBDIR%%,' \ - -e 's,${PYEASYINSTALL_EGG},%%PYEASYINSTALL_EGG%%,' >> pkg-plist.new - ${FIND} ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG} -type d -depth | ${SORT} -r | \ - ${SED} -e 's,${PYTHON_SITELIBDIR},@dirrm %%PYTHON_SITELIBDIR%%,' \ - -e 's,${PYEASYINSTALL_EGG},%%PYEASYINSTALL_EGG%%,' >> pkg-plist.new - .include <bsd.port.mk> --- py-blockdiag-1.2.4.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404221356.s3MDuCb9037478>