freebsd-ports/news/pyne/Makefile
Kris Kennaway a3972b9078 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.
2004-12-19 23:27:58 +00:00

40 lines
1,001 B
Makefile

# ex:ts=8
# New ports collection makefile for: pyne
# Date created: Dec 10, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= pyne
PORTVERSION= 1.0.1
PORTREVISION= 1
CATEGORIES= news python mail
MASTER_SITES= http://www.soul-less.pwp.blueyonder.co.uk/pyne/
MAINTAINER= ports@FreeBSD.org
COMMENT= An X11 offline Newsreader/Emailer
BUILD_DEPENDS= pygtk-codegen-2.0:${PORTSDIR}/x11-toolkits/py-gtk2
RUN_DEPENDS= ${BUILD_DEPENDS}
.if defined(PACKAGE_BUILDING)
BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT}
.endif
BROKEN= "Broken pkg-plist"
USE_REINPLACE= yes
USE_PYTHON= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ENV= PYTHON_SITELIBDIR="${PYTHON_SITELIBDIR}"
ALL_TARGET= default
pre-configure:
@${REINPLACE_CMD} -e "s@[(]PREFIX[)]\/lib@(PYTHON_SITELIBDIR)@g" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s@pybins=\(.*\)@pybins=\${PYTHON_VERSION}@" ${WRKSRC}/configure
post-install:
@${STRIP_CMD} ${PREFIX}/bin/yencdec
.include <bsd.port.mk>