2004-12-22 08:30:30 +01:00
|
|
|
# New ports collection makefile for: gphpedit
|
|
|
|
# Date created: 2004-11-21
|
|
|
|
# Whom: Roman Bogorodskiy <bogorodskiy@inbox.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gphpedit
|
2005-12-22 20:30:59 +01:00
|
|
|
PORTVERSION= 0.9.80
|
2009-07-31 15:57:52 +02:00
|
|
|
PORTREVISION= 5
|
2004-12-22 08:30:30 +01:00
|
|
|
CATEGORIES= editors gnome
|
2005-01-12 08:05:42 +01:00
|
|
|
MASTER_SITES= http://www.gphpedit.org/download/store/ \
|
|
|
|
http://ftp.ceid.upatras.gr/pub/linux/gentoo/distfiles/ \
|
|
|
|
http://www.jolupatech.info/crux/gphpedit/
|
2004-12-22 08:30:30 +01:00
|
|
|
|
2005-03-08 08:38:35 +01:00
|
|
|
MAINTAINER= novel@FreeBSD.org
|
2012-07-25 08:32:06 +02:00
|
|
|
COMMENT= PHP, HTML, and CSS development environment for GNOME 2.x
|
2004-12-22 08:30:30 +01:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= gnomeprefix gnomehack libgnomeui libgtkhtml
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2009-11-20 00:41:55 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2004-12-22 08:30:30 +01:00
|
|
|
|
|
|
|
.if !defined(WITHOUT_PHP)
|
|
|
|
USE_PHP= yes
|
|
|
|
WANT_PHP_CLI= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_PHPDOC)
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/share/doc/php-en/about.html:${PORTSDIR}/lang/php_doc
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-everything::
|
|
|
|
.if !defined(WITHOUT_PHP) || !defined(WITHOUT_PHPDOC)
|
|
|
|
@${ECHO_MSG} "You may specify the following on the command line:"
|
|
|
|
@${ECHO_MSG} " "
|
|
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_PHP)
|
|
|
|
@${ECHO_MSG} "WITHOUT_PHP=yes to not install php, debug script will not work without it."
|
|
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_PHPDOC)
|
|
|
|
@${ECHO_MSG} "WITHOUT_PHPDOC=yes to not install php_doc, help will be disable."
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2007-10-25 01:37:25 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local/share|${PREFIX}/share|g' \
|
2004-12-22 08:30:30 +01:00
|
|
|
${WRKSRC}/src/main.h
|
2007-10-25 01:37:25 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
|
2004-12-22 08:30:30 +01:00
|
|
|
${WRKSRC}/src/calltip.c ${WRKSRC}/src/main_window.c
|
|
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
|
|
|
${WRKSRC}/src/tab.c
|
|
|
|
|
2005-12-25 15:39:17 +01:00
|
|
|
pre-build:
|
|
|
|
@cd ${WRKSRC}/src/gtkscintilla2 && ${GMAKE} clean
|
|
|
|
|
2004-12-22 08:30:30 +01:00
|
|
|
.include <bsd.port.mk>
|