summaryrefslogblamecommitdiff
path: root/misc/gonvert/Makefile
blob: cdfd02df20507e7fc852a09738c096bc515b5c85 (plain) (tree)































                                                                                                              
# ex:ts=8
# New ports collection makefile for:	gonvert
# Date created:			Apr 9, 2001
# Whom:				Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	gonvert
PORTVERSION=	0.0.5
CATEGORIES=	misc python gnome
MASTER_SITES=	http://webhome.idirect.com/~tekatch/anthony/ucu/

MAINTAINER=	ijliao@FreeBSD.org

RUN_DEPENDS=	${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/GTK.py:${PORTSDIR}/x11-toolkits/py-gtk \
		${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/gnome/ui.py:${PORTSDIR}/x11-toolkits/py-gnome

USE_PYTHON=	yes
USE_X_PREFIX=	yes
USE_GNOME=	yes

USE_GMAKE=	yes
NO_BUILD=	yes

post-patch:
	@${PERL} -pi -e "s,/usr/bin/python,${PYTHON_CMD},g" ${WRKSRC}/${PORTNAME}
	@${PERL} -pi -e "s,gnome-config,${GNOME_CONFIG},g ; \
		s,--directory,-d --mode=755,g ; \
		s,install ,install -c ,g" ${WRKSRC}/Makefile

.include <bsd.port.mk>