summaryrefslogtreecommitdiff
path: root/devel/hypersrc/Makefile
blob: c309109121119c72979ce50a2bf21770699e4ca5 (plain) (blame)
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
# ex:ts=8
# New ports collection makefile for:	hypersrc
# Date created:			Apr 9, 2001
# Whom:				Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	hypersrc
PORTVERSION=	4.4.8
CATEGORIES=	devel
MASTER_SITES=	ftp://ftp.jimbrooks.org/hypersrc/latest/

MAINTAINER=	ports@FreeBSD.org

RUN_DEPENDS=	exctags:${PORTSDIR}/devel/ctags

USE_BISON=	yes
USE_GTK=	yes
USE_GNOME=	yes

USE_GMAKE=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}

post-patch:
	@${PERL} -pi -e "s,/usr/local,${PREFIX},g ;\
		s,gtk-config,${GTK_CONFIG},g ; \
		s,gnome-config,${GNOME_CONFIG},g" ${WRKSRC}/Makefile
	@${PERL} -pi -e "s,/usr/bin/ctags,${LOCALBASE}/bin/exctags,g" ${WRKSRC}/Hypersrc.pl

.include <bsd.port.mk>