mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
f935a609c5
supports them. This is determined by running ``configure --help'' in do-configure target and set the shell variable _LATE_CONFIGURE_ARGS which is then passed to CONFIGURE_ARGS. - Remove --mandir and --infodir in ports' Makefile where applicable Few ports use REINPLACE_CMD to achieve the same effect, remove them too. - Correct some manual pages location from PREFIX/man to MANPREFIX/man - Define INFO_PATH where necessary - Document that .info files are installed in a subdirectory relative to PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and subdirectory detection. PR: ports/111470 Approved by: portmgr Discussed with: stas (Mk/*), gerald (info related stuffs) Tested by: pointyhat exp run
72 lines
2.0 KiB
Makefile
72 lines
2.0 KiB
Makefile
# New ports collection makefile for: bluefish
|
|
# Date created: 23 January 2003
|
|
# Whom: Koop Mast <einekoai@chello.nl>
|
|
#
|
|
# $FreeBSD$
|
|
# $MCom: ports/www/bluefish/Makefile,v 1.1 2006/09/30 03:21:27 ahze Exp $
|
|
#
|
|
|
|
PORTNAME= bluefish
|
|
PORTVERSION= 1.0.7
|
|
PORTREVISION= 2
|
|
CATEGORIES= www editors
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= farrokhi@FreeBSD.org
|
|
COMMENT= HTML editor designed for the experienced web designer
|
|
|
|
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre \
|
|
aspell.16:${PORTSDIR}/textproc/aspell
|
|
|
|
.if !defined(WITHOUT_WEBLINT)
|
|
RUN_DEPENDS+= weblint:${PORTSDIR}/www/weblint
|
|
.endif
|
|
.if defined(WITH_TIDY)
|
|
RUN_DEPENDS+= tidy:${PORTSDIR}/www/tidy
|
|
.endif
|
|
|
|
USE_BZIP2= yes
|
|
USE_GETTEXT= yes
|
|
USE_GNOME= gnomehier gtk20 gnomevfs2
|
|
WANT_GNOME= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS= --with-freedesktop_org-menu=${PREFIX}/share/gnome/applications \
|
|
--with-freedesktop_org-mime=${PREFIX}/share/mime \
|
|
--without-gnome2_4-mime \
|
|
--without-gnome2_4-appreg \
|
|
--with-icon-path=${PREFIX}/share/gnome/pixmaps
|
|
|
|
# Turns debugging output on
|
|
.if defined(WITH_DEBUG)
|
|
CONFIGURE_ARGS+= --with-debugging-output
|
|
.endif
|
|
|
|
.if defined(WITHOUT_SPLASH)
|
|
CONFIGURE_ARGS+= --disable-splash-screen
|
|
.endif
|
|
|
|
MAN1= bluefish.1
|
|
|
|
pre-everything::
|
|
@${ECHO_MSG} ""
|
|
@${ECHO_MSG} "Bluefish has the following tunable option(s):"
|
|
@${ECHO_MSG} " WITH_DEBUG for debug support"
|
|
@${ECHO_MSG} " WITHOUT_WEBLINT disable the weblint syntax and style checker"
|
|
@${ECHO_MSG} " WITH_TIDY for the tidy html cleanup program"
|
|
@${ECHO_MSG} " WITHOUT_SPLASH disable the splash screen"
|
|
@${ECHO_MSG} ""
|
|
@${ECHO_MSG} "For Highlighting to work, please enable UTF-8 support in devel/pcre."
|
|
@${ECHO_MSG} "This will reduce the number of warning in the console when running bluefish."
|
|
@${ECHO_MSG} ""
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${HAVE_GNOME:Mlibgnomeui}!=""
|
|
USE_GNOME+= libgnomeui
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|