summaryrefslogtreecommitdiff
path: root/editors/leafpad/Makefile
blob: e2e982afa2a8a6c5dd1f4511f829e754e0ddb07a (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
32
33
34
# Created by: Michael Johnson <ahze@ahze.net>
# $FreeBSD$

PORTNAME=	leafpad
PORTVERSION=	0.8.18.1
PORTREVISION=	2
CATEGORIES=	editors
MASTER_SITES=	SAVANNAH

MAINTAINER=	jgh@FreeBSD.org
COMMENT=	GTK+ based simple text editor

LICENSE=	GPLv2

USE_GNOME=	gtk20 intlhack
USES=		desktop-file-utils gettext gmake gnome pkgconfig
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-chooser
INSTALLS_ICONS=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-lpthread -L${LOCALBASE}/lib

PORTDOCS=	AUTHORS COPYING ChangeLog INSTALL README

OPTIONS_DEFINE=	DOCS

post-extract:
	@${CHMOD} a+x ${WRKSRC}/install-sh

post-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>