summaryrefslogtreecommitdiffstats
path: root/editors/gedit-plugins/Makefile
blob: 6b45b442ca251581ccbb0bb6ccf7cc7ddfe2af04 (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: ports/editors/gedit-plugins/Makefile,v 1.2 2003/10/18 07:18:32 bland Exp $
#

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_LIBTOOL=    yes
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>