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
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 8
|
2000-06-01 18:25:45 +02:00
|
|
|
CATEGORIES= editors www gnome
|
2011-08-09 15:19:19 +02:00
|
|
|
MASTER_SITES= SF/gnotepad/gnotepad-stable/${PORTVERSION} \
|
|
|
|
SF/gnotepad/gnotepad%20User_s%20Manual/${DOCVERSION}:doc
|
|
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:DEFAULT
|
2000-04-30 02:15:08 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2011-08-09 15:19:19 +02:00
|
|
|
DISTFILES+= ${PORTNAME}-help-${DOCVERSION}${EXTRACT_SUFX}:doc
|
2000-04-30 02:15:08 +02:00
|
|
|
.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
|
|
|
|
2011-08-09 15:19:19 +02:00
|
|
|
LICENSE= GPLv2 GPLv3
|
|
|
|
LICENSE_COMB= dual
|
2000-10-05 09:22:56 +02:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= xpm
|
2011-08-11 11:38:06 +02:00
|
|
|
WANT_GNOME= yes
|
2007-10-25 01:37:25 +02:00
|
|
|
USE_GNOME= gnomeprefix gtk12
|
2011-08-09 15:19:19 +02:00
|
|
|
USE_GETTEXT= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-08-09 15:19:19 +02:00
|
|
|
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
|
|
|
|
MAKE_JOBS_SAFE= yes
|
1999-04-30 10:33:55 +02:00
|
|
|
|
2011-08-09 15:19:19 +02:00
|
|
|
MAN1= gnp.1
|
1999-04-30 10:33:55 +02:00
|
|
|
|
2011-08-09 15:19:19 +02:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
2000-10-05 09:22:56 +02:00
|
|
|
|
2011-08-09 15:19:19 +02:00
|
|
|
DOCVERSION= 1.2.0
|
2001-08-24 15:56:53 +02:00
|
|
|
|
2011-08-09 15:19:19 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2000-04-30 02:15:08 +02:00
|
|
|
|
2002-08-30 15:36:06 +02:00
|
|
|
.if ${HAVE_GNOME:Mgnomelibs}!=""
|
2007-10-25 01:37:25 +02:00
|
|
|
USE_GNOME+= gnomelibs
|
2002-09-21 20:17:33 +02:00
|
|
|
PKGNAMESUFFIX= -gnome
|
2000-10-05 09:22:56 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-gnome
|
|
|
|
.endif
|
|
|
|
|
2011-08-09 15:19:19 +02:00
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
PLIST_SUB+= NOPORTDOCS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NOPORTDOCS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MV} ${WRKSRC}/docs ${WRKSRC}/docs.old
|
|
|
|
@${CP} -R ${WRKDIR}/${PORTNAME}-help-${DOCVERSION}/docs ${WRKSRC}/docs
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|\(use_gtkhtml=\)yes|\1no|g' ${WRKSRC}/configure
|
|
|
|
|
2000-10-05 09:22:56 +02:00
|
|
|
.include <bsd.port.post.mk>
|