freebsd-ports/ftp/ftpcube/Makefile
Kris Kennaway 88d78c401e Fix package building by adding a dependency on Xvfb in the
PACKAGE_BUILDING case.  The package build scripts then DTRT and ensure
this is running at build-time so a DISPLAY is available.

Approved by:	portmgr (self)
2005-01-01 22:16:28 +00:00

32 lines
657 B
Makefile

# ex:ts=8
# New ports collection makefile for: ftpcube
# Date created: Dec 13, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= ftpcube
PORTVERSION= 0.4.3
PORTREVISION= 3
CATEGORIES= ftp python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A graphical FTP Client
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/wx/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython
.if defined(PACKAGE_BUILDING)
BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT}
.endif
USE_REINPLACE= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
post-patch:
@${REINPLACE_CMD} 's,/usr/local,${PREFIX},' ${WRKSRC}/setup.cfg
.include <bsd.port.mk>