summaryrefslogtreecommitdiff
path: root/editors/gedit-plugins/Makefile
blob: 64449729bb98c5eefde6785869f3a40a1429986a (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=	5
CATEGORIES=	editors gnome
MASTER_SITES=	${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR=	sources/${PORTNAME}/2.3

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

BUILD_DEPENDS=	gedit:${PORTSDIR}/editors/gedit
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.8|g" \
		${WRKSRC}/configure

.include <bsd.port.mk>