aboutsummaryrefslogtreecommitdiffstats
path: root/editors/leafpad/Makefile
blob: 1d15a436b93c1a4d656121abb05517d93c508def (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
37
# New ports collection makefile for:    leafpad
# Date created:             2004-10-18
# Whom:                 Michael Johnson <ahze@ahze.net>
#
# $FreeBSD$
#

PORTNAME=   leafpad
PORTVERSION=    0.8.17
PORTREVISION=   2
CATEGORIES= editors
MASTER_SITES=   ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= radek@raadradd.com
COMMENT=    GTK+ based simple text editor

USE_GNOME=  gtk20 desktopfileutils intlhack
USE_GETTEXT=    yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-chooser
INSTALLS_ICONS= yes
CPPFLAGS=   -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS=    -L${LOCALBASE}/lib ${PTHREAD_LIBS}

PORTDOCS=   AUTHORS COPYING ChangeLog INSTALL README

post-install:
.if !defined(NOPORTDOCS)
    @${INSTALL} -d ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif
    -@update-desktop-database

.include <bsd.port.mk>