diff options
author | kris <kris@FreeBSD.org> | 2004-12-19 23:27:58 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2004-12-19 23:27:58 +0000 |
commit | c4db7794109c05bef1d885ff87f51ab5cd9118bd (patch) | |
tree | d6947208a659fab9ce4112ab6bc993785aca2b91 | |
parent | dea7d26e3bd606d690a7a13c785d471dcf6497fd (diff) | |
download | FreeBSD-ports-c4db7794109c05bef1d885ff87f51ab5cd9118bd.zip FreeBSD-ports-c4db7794109c05bef1d885ff87f51ab5cd9118bd.tar.gz |
Simplify hackery that attempted to build the package on pointyhat by
adding a dependency on Xvfb (setting the DISPLAY and running Xvfb is
now taken care of by the package scripts).
Port is indeed BROKEN, but because of an incorrect pkg-plist and not
because of the spurious DISPLAY-related error.
-rw-r--r-- | news/pyne/Makefile | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/news/pyne/Makefile b/news/pyne/Makefile index afcc824..848b4fb 100644 --- a/news/pyne/Makefile +++ b/news/pyne/Makefile @@ -15,17 +15,14 @@ MASTER_SITES= http://www.soul-less.pwp.blueyonder.co.uk/pyne/ MAINTAINER= ports@FreeBSD.org COMMENT= An X11 offline Newsreader/Emailer -BROKEN= "Does not compile" - BUILD_DEPENDS= pygtk-codegen-2.0:${PORTSDIR}/x11-toolkits/py-gtk2 RUN_DEPENDS= ${BUILD_DEPENDS} - -# ugly hack imported from openoffice. -.if !defined(DISPLAY) +.if defined(PACKAGE_BUILDING) BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} -DISPLAYHACK= localhost:1001 .endif +BROKEN= "Broken pkg-plist" + USE_REINPLACE= yes USE_PYTHON= yes GNU_CONFIGURE= yes @@ -37,24 +34,7 @@ pre-configure: @${REINPLACE_CMD} -e "s@[(]PREFIX[)]\/lib@(PYTHON_SITELIBDIR)@g" ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e "s@pybins=\(.*\)@pybins=\${PYTHON_VERSION}@" ${WRKSRC}/configure -pre-install: -.if !defined(DISPLAY) -.if exists(${WRKDIR}/.Xvfb.pid) - @-${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill - @${RM} -f ${WRKDIR}/.Xvfb.pid -.endif - - ${X11BASE}/bin/Xvfb :1001 -screen 0 800x600x24 > /dev/null 2>&1 & ${ECHO_CMD} $$! > \ - ${WRKDIR}/.Xvfb.pid - @${REINPLACE_CMD} -e "s@--compile@--compile --display ${DISPLAYHACK}@" \ - ${WRKSRC}/Makefile -.endif - post-install: -.if !defined(DISPLAY) - @${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill - @${RM} ${WRKDIR}/.Xvfb.pid -.endif @${STRIP_CMD} ${PREFIX}/bin/yencdec .include <bsd.port.mk> |