2013-09-20 18:36:23 +02:00
|
|
|
# Created by: 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
|
2016-12-08 20:52:19 +01:00
|
|
|
PORTREVISION= 10
|
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
|
2015-05-11 20:34:57 +02:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
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
|
2007-10-25 01:37:25 +02:00
|
|
|
USE_GNOME= gnomeprefix gtk12
|
2013-04-24 20:10:30 +02:00
|
|
|
USES= gettext
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
1999-04-30 10:33:55 +02:00
|
|
|
|
2013-10-15 11:47:11 +02:00
|
|
|
CONFIGURE_ARGS= --disable-gnome
|
|
|
|
|
2011-09-24 00:26:39 +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
|
|
|
|
2014-05-06 15:03:45 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-09-11 00:23:26 +02:00
|
|
|
OPTIONS_SUB= yes
|
2014-05-06 15:03:45 +02:00
|
|
|
|
|
|
|
DOCS_DISTFILES= ${PORTNAME}-help-${DOCVERSION}${EXTRACT_SUFX}:doc
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
2000-04-30 02:15:08 +02:00
|
|
|
|
2011-08-09 15:19:19 +02:00
|
|
|
post-extract:
|
2014-05-06 15:03:45 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2011-08-09 15:19:19 +02:00
|
|
|
@${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
|
2014-05-06 15:03:45 +02:00
|
|
|
@${REINPLACE_CMD} '/destdir/ s|gnulocaledir)|DESTDIR)$$(&|' \
|
|
|
|
${WRKSRC}/po/Makefile.in.in
|
2011-08-09 15:19:19 +02:00
|
|
|
|
2014-05-06 15:03:45 +02:00
|
|
|
.include <bsd.port.mk>
|