1999-04-30 10:33:55 +02:00
|
|
|
# New ports collection makefile for: gnotepad+
|
2000-04-30 02:15:08 +02:00
|
|
|
# Date created: 08 March 1999
|
1999-04-30 10:33:55 +02:00
|
|
|
# Whom: brett@peloton.physics.montana.edu
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1999-04-30 10:33:55 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 02:25:54 +02:00
|
|
|
PORTNAME= gnotepad+
|
2001-02-23 16:47:02 +01:00
|
|
|
PORTVERSION= 1.3.3
|
2006-03-07 09:28:06 +01:00
|
|
|
PORTREVISION= 2
|
2000-06-01 18:25:45 +02:00
|
|
|
CATEGORIES= editors www gnome
|
2000-06-14 15:21:38 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= gnotepad
|
2000-04-30 02:15:08 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
|
|
|
|
${PORTNAME}-help-${DOCVERSION}${EXTRACT_SUFX}
|
|
|
|
.endif
|
1999-04-30 10:33:55 +02:00
|
|
|
|
2003-12-21 01:23:25 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 12:38:28 +01:00
|
|
|
COMMENT= Simple GTK-based text/HTML editor
|
1999-04-30 10:33:55 +02:00
|
|
|
|
2000-04-30 02:15:08 +02:00
|
|
|
DOCVERSION= 1.2.0
|
2000-10-05 09:22:56 +02:00
|
|
|
|
2006-01-26 05:06:59 +01:00
|
|
|
USE_GETTEXT= yes
|
2000-04-30 02:15:08 +02:00
|
|
|
USE_X_PREFIX= yes
|
2000-10-05 09:22:56 +02:00
|
|
|
USE_XPM= yes
|
|
|
|
WANT_GNOME= yes
|
2002-09-21 20:17:33 +02:00
|
|
|
USE_GNOME= gtk12
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2000-10-05 09:22:56 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2000-04-30 02:15:08 +02:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1999-04-30 10:33:55 +02:00
|
|
|
|
|
|
|
MAN1= gnp.1
|
|
|
|
|
2000-10-05 09:22:56 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2001-08-24 15:56:53 +02:00
|
|
|
post-patch:
|
2004-02-12 03:54:23 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|\(use_gtkhtml=\)yes|\1no|g' ${WRKSRC}/configure
|
2001-08-24 15:56:53 +02:00
|
|
|
|
2000-04-30 02:15:08 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-extract:
|
2000-05-17 21:53:25 +02:00
|
|
|
@${MV} ${WRKSRC}/docs ${WRKSRC}/docs.old
|
|
|
|
@${CP} -R ${WRKDIR}/${PORTNAME}-help-${DOCVERSION}/docs ${WRKSRC}/docs
|
2000-04-30 02:15:08 +02:00
|
|
|
.endif
|
|
|
|
|
2002-08-30 15:36:06 +02:00
|
|
|
.if ${HAVE_GNOME:Mgnomelibs}!=""
|
2002-09-21 20:17:33 +02:00
|
|
|
USE_GNOME= gnomeprefix gnomelibs
|
|
|
|
PKGNAMESUFFIX= -gnome
|
|
|
|
PLIST_SUB= DATADIR="share/gnome"
|
2000-10-05 09:22:56 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-gnome
|
2002-09-21 20:17:33 +02:00
|
|
|
PLIST_SUB= DATADIR="share"
|
2000-10-05 09:22:56 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|