mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- convert to USES=gettext
Approved by: portmgr (bapt@)
This commit is contained in:
parent
93ea9ccc57
commit
ce6e27aa9e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317448
2 changed files with 34 additions and 35 deletions
|
@ -1,9 +1,5 @@
|
||||||
# New ports collection makefile for: bluefish-devel
|
# Created by: Sylvio Cesar Teixeira <sylvio@FreeBSD.org>
|
||||||
# Date created: 2009-10-03
|
|
||||||
# Whom: Sylvio Cesar Teixeira <sylvio@FreeBSD.org>
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
|
||||||
|
|
||||||
PORTNAME= bluefish
|
PORTNAME= bluefish
|
||||||
PORTVERSION= 1.3.7
|
PORTVERSION= 1.3.7
|
||||||
|
@ -25,13 +21,6 @@ INSTALLS_ICONS= yes
|
||||||
|
|
||||||
DATADIR= share/${PORTNAME}-unstable
|
DATADIR= share/${PORTNAME}-unstable
|
||||||
|
|
||||||
.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_BZIP2= yes
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_GNOME= gnomeprefix gtk20 gnomevfs2 gnomemimedata desktopfileutils
|
USE_GNOME= gnomeprefix gtk20 gnomevfs2 gnomemimedata desktopfileutils
|
||||||
|
@ -45,6 +34,15 @@ CONFIGURE_ARGS= --with-freedesktop_org-menu=${PREFIX}/share/applications \
|
||||||
--without-gnome2_4-appreg \
|
--without-gnome2_4-appreg \
|
||||||
--with-icon-path=${PREFIX}/share/pixmaps
|
--with-icon-path=${PREFIX}/share/pixmaps
|
||||||
|
|
||||||
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
|
.if !defined(WITHOUT_WEBLINT)
|
||||||
|
RUN_DEPENDS+= weblint:${PORTSDIR}/www/weblint
|
||||||
|
.endif
|
||||||
|
.if defined(WITH_TIDY)
|
||||||
|
RUN_DEPENDS+= tidy:${PORTSDIR}/www/tidy
|
||||||
|
.endif
|
||||||
|
|
||||||
# Turns debugging output on
|
# Turns debugging output on
|
||||||
.if defined(WITH_DEBUG)
|
.if defined(WITH_DEBUG)
|
||||||
CONFIGURE_ARGS+= --with-debugging-output
|
CONFIGURE_ARGS+= --with-debugging-output
|
||||||
|
@ -54,8 +52,22 @@ CONFIGURE_ARGS+= --with-debugging-output
|
||||||
CONFIGURE_ARGS+= --disable-splash-screen
|
CONFIGURE_ARGS+= --disable-splash-screen
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if ${PORT_OPTIONS:MNLS}
|
||||||
|
USES+= gettext
|
||||||
|
PLIST_SUB+= NLS=""
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --disable-nls
|
||||||
|
PLIST_SUB+= NLS="@comment "
|
||||||
|
.endif
|
||||||
|
|
||||||
MAN1= bluefish-unstable.1
|
MAN1= bluefish-unstable.1
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if ${HAVE_GNOME:Mlibgnomeui}!=""
|
||||||
|
USE_GNOME+= libgnomeui
|
||||||
|
.endif
|
||||||
|
|
||||||
pre-everything::
|
pre-everything::
|
||||||
@${ECHO_MSG} ""
|
@${ECHO_MSG} ""
|
||||||
@${ECHO_MSG} "Bluefish has the following tunable option(s):"
|
@${ECHO_MSG} "Bluefish has the following tunable option(s):"
|
||||||
|
@ -71,18 +83,4 @@ pre-everything::
|
||||||
pre-install:
|
pre-install:
|
||||||
@${MKDIR} ${PREFIX}/share/mime
|
@${MKDIR} ${PREFIX}/share/mime
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
.if ${HAVE_GNOME:Mlibgnomeui}!=""
|
|
||||||
USE_GNOME+= libgnomeui
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if defined(WITHOUT_NLS)
|
|
||||||
CONFIGURE_ARGS+= --disable-nls
|
|
||||||
PLIST_SUB+= NLS="@comment "
|
|
||||||
.else
|
|
||||||
USE_GETTEXT= yes
|
|
||||||
PLIST_SUB+= NLS=""
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -40,23 +40,18 @@ WEBLINT_DESC= Include Weblint syntax and style checker
|
||||||
|
|
||||||
OPTIONS_DEFAULT= WEBLINT
|
OPTIONS_DEFAULT= WEBLINT
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${HAVE_GNOME:Mlibgnomeui}!=""
|
|
||||||
USE_GNOME+= libgnomeui
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MDEBUG}
|
.if ${PORT_OPTIONS:MDEBUG}
|
||||||
CONFIGURE_ARGS+= --with-debugging-output
|
CONFIGURE_ARGS+= --with-debugging-output
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITHOUT_NLS)
|
.if ${PORT_OPTIONS:MNLS}
|
||||||
|
USES+= gettext
|
||||||
|
PLIST_SUB+= NLS=""
|
||||||
|
.else
|
||||||
CONFIGURE_ARGS+= --disable-nls
|
CONFIGURE_ARGS+= --disable-nls
|
||||||
PLIST_SUB+= NLS="@comment "
|
PLIST_SUB+= NLS="@comment "
|
||||||
.else
|
|
||||||
USE_GETTEXT= yes
|
|
||||||
PLIST_SUB+= NLS=""
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MTIDY}
|
.if ${PORT_OPTIONS:MTIDY}
|
||||||
|
@ -67,6 +62,12 @@ RUN_DEPENDS+= tidy4:${PORTSDIR}/www/tidy
|
||||||
RUN_DEPENDS+= weblint:${PORTSDIR}/www/weblint
|
RUN_DEPENDS+= weblint:${PORTSDIR}/www/weblint
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if ${HAVE_GNOME:Mlibgnomeui}!=""
|
||||||
|
USE_GNOME+= libgnomeui
|
||||||
|
.endif
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
@${MKDIR} ${PREFIX}/share/mime
|
@${MKDIR} ${PREFIX}/share/mime
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue