blob: 036e1a72ff6c23e389bb7ac275b1c5d3a361ad10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# 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.1.2
PORTREVISION= 0
CATEGORIES= misc python gnome
MASTER_SITES= http://unihedron.com/projects/gonvert/
MAINTAINER= ports@FreeBSD.org
COMMENT= A conversion utility that allows conversion between many units
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2
USE_REINPLACE= yes
USE_PYTHON= yes
USE_X_PREFIX= yes
USE_GNOMENG= yes
USE_GMAKE= yes
NO_BUILD= yes
post-patch:
@${REINPLACE_CMD} -e "s,/usr/bin/python,${PYTHON_CMD},g" ${WRKSRC}/${PORTNAME}
@${REINPLACE_CMD} -e "s,gnome-config,${GNOME_CONFIG},g ; \
s,--directory,-d --mode=755,g ; \
s,install ,install -c ,g" ${WRKSRC}/Makefile
.include <bsd.port.mk>
|