2006-05-08 16:00:15 +02:00
|
|
|
# New ports collection makefile for: leafpad
|
2005-05-22 07:06:50 +02:00
|
|
|
# Date created: 2004-10-18
|
|
|
|
# Whom: Michael Johnson <ahze@ahze.net>
|
2004-10-19 00:11:02 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= leafpad
|
2006-05-08 16:00:15 +02:00
|
|
|
PORTVERSION= 0.8.9
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 3
|
2004-10-19 00:11:02 +02:00
|
|
|
CATEGORIES= editors
|
2004-11-13 01:52:16 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2004-10-19 00:11:02 +02:00
|
|
|
|
2004-11-13 01:52:16 +01:00
|
|
|
MAINTAINER= radek@raadradd.com
|
2005-05-22 07:06:50 +02:00
|
|
|
COMMENT= GTK+ based simple text editor
|
2004-10-19 00:11:02 +02:00
|
|
|
|
2006-10-14 10:54:54 +02:00
|
|
|
USE_GNOME= gtk20 desktopfileutils intlhack
|
2005-06-01 02:31:15 +02:00
|
|
|
USE_GCC= 3.4
|
2006-05-08 16:00:15 +02:00
|
|
|
USE_GETTEXT= YES
|
2004-10-19 00:11:02 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-06-01 02:31:15 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
|
2005-03-14 15:01:52 +01:00
|
|
|
PTHREAD_LIB="${PTHREAD_LIBS}"
|
2005-05-20 14:27:25 +02:00
|
|
|
CONFIGURE_ARGS= --enable-chooser
|
2004-10-19 00:11:02 +02:00
|
|
|
|
2005-06-01 02:31:15 +02:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
|
|
|
|
|
2004-11-19 20:11:32 +01:00
|
|
|
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README
|
2005-03-14 15:01:52 +01:00
|
|
|
|
2004-10-19 00:11:02 +02:00
|
|
|
post-install:
|
2004-12-09 04:36:42 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2006-05-08 16:00:15 +02:00
|
|
|
@${INSTALL} -d ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
|
2004-10-19 00:11:02 +02:00
|
|
|
.endif
|
2004-12-29 03:18:31 +01:00
|
|
|
-@update-desktop-database
|
2004-10-19 00:11:02 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|