summaryrefslogtreecommitdiff
path: root/editors/gedit-plugins/Makefile
blob: 680dd6c178398382e4eac573c9a98b1a35efc45f (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
32
33
34
35
# New ports collection makefile for:	gedit-plugins
# Date created:				19 September 2003
# Whom:					Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	gedit-plugins
PORTVERSION=	2.3.5
PORTREVISION=	4
CATEGORIES=	editors gnome
MASTER_SITES=	${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR=	sources/${PORTNAME}/2.3

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Plugins for gedit2

BUILD_DEPENDS=	gedit:${PORTSDIR}/editors/gedit2
RUN_DEPENDS=	${BUILD_DEPENDS}

USE_BZIP2=	yes
USE_PERL5=	yes
USE_X_PREFIX=	yes
USE_INC_LIBTOOL_VER=13
INSTALLS_SHLIB=	yes
USE_REINPLACE=	yes
USE_GNOME=	gnomehack gnomeprefix gnometarget lthack
CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
	@${REINPLACE_CMD} -e "s|gedit-2.4|gedit-2.6|g" \
		${WRKSRC}/configure

.include <bsd.port.mk>