aboutsummaryrefslogtreecommitdiff
path: root/devel/regexxer/Makefile
blob: 89d4627b3bc3da5bfbc9ddc6d4fe53fa6a8e482a (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
36
# Created by: Rui Lopes <rui@ruilopes.com>
# $FreeBSD$

PORTNAME=		regexxer
PORTVERSION=		0.9
PORTREVISION=	10
CATEGORIES=		devel textproc gnome
MASTER_SITES=		SF

MAINTAINER=		ports@FreeBSD.org
COMMENT=		An interactive tool for performing search and replace operations

LIB_DEPENDS=		gconfmm-2.6:${PORTSDIR}/devel/gconfmm26 \
			glademm-2.4:${PORTSDIR}/devel/libglademm24 \
			pcre.3:${PORTSDIR}/devel/pcre

USE_GETTEXT=		yes
GNU_CONFIGURE=		yes
USE_GMAKE=		yes
USES=        pathfix
USE_GNOME=		gnomeprefix intltool intlhack
CPPFLAGS+=		-I${LOCALBASE}/include
LDFLAGS+=		-L${LOCALBASE}/lib

GCONF_SCHEMAS=		regexxer.schemas
INSTALLS_ICONS=		regexxer.png

# This target is only meant to be used by the port maintainer.
x-generate-plist:
	(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX}|${GREP} regexxer) > temp-pkg-plist

post-patch:
	@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
		${WRKSRC}/src/globalstrings.h ${WRKSRC}/src/translation.h

.include <bsd.port.mk>