summaryrefslogtreecommitdiff
path: root/editors/beaver/Makefile
blob: 70c30fe8372ba8c306c5b1d036faa4e66a207de5 (plain)
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
# $NetBSD: Makefile,v 1.32 2013/06/04 22:15:57 tron Exp $
#

DISTNAME=	beaver${BEAVER_VERSION:S/./_/g}
PKGNAME=	beaver-${BEAVER_VERSION}
PKGREVISION=	16
CATEGORIES=	editors
MASTER_SITES=	http://download.savannah.gnu.org/releases/beaver/0.3.0.1%20-%202008.06.26/
EXTRACT_SUFX=	.tgz

BEAVER_VERSION=	0.3.0.1

MAINTAINER=	vincent.derrien@ahoup.net
HOMEPAGE=	http://www.nongnu.org/beaver/
COMMENT=	Lightweight GTK+ text editor with syntax highlighting

BUILD_DIRS=	src
USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config

SUBST_CLASSES+=		iconpath
SUBST_FILES.iconpath=	beaver.desktop src/interface.c
SUBST_MESSAGE.iconpath=	Substituting hard-coded pathnames.
SUBST_STAGE.iconpath=	pre-build
SUBST_SED.iconpath=	-e 's,Icon=,&${PREFIX}/share/pixmaps/beaver/,'
SUBST_VARS.iconpath=	PREFIX

.include "../../x11/gtk2/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"

.include "../../mk/bsd.pkg.mk"