mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 11:33:15 -04:00
Support stage
Use options framework
This commit is contained in:
parent
ade5478203
commit
3a394cc053
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352184
1 changed files with 11 additions and 21 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
PORTNAME= gnome-schedule
|
PORTNAME= gnome-schedule
|
||||||
PORTVERSION= 2.1.5
|
PORTVERSION= 2.1.5
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-2/${PORTNAME}-${PORTVERSION}
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-2/${PORTNAME}-${PORTVERSION}
|
||||||
|
|
||||||
|
@ -13,33 +13,23 @@ COMMENT= GNOME GUI for configuring a users crontab
|
||||||
|
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= APPLET NLS
|
||||||
|
OPTIONS_DEFAULT= APPLET
|
||||||
|
OPTIONS_SUB= yes
|
||||||
|
|
||||||
BUILD_DEPENDS= yelp:${PORTSDIR}/x11/yelp
|
BUILD_DEPENDS= yelp:${PORTSDIR}/x11/yelp
|
||||||
RUN_DEPENDS= yelp:${PORTSDIR}/x11/yelp
|
RUN_DEPENDS= yelp:${PORTSDIR}/x11/yelp
|
||||||
|
|
||||||
|
USES= gmake pathfix
|
||||||
USE_PYTHON= yes
|
USE_PYTHON= yes
|
||||||
USE_GMAKE= yes
|
USE_GNOME= gnomeprefix pygnome2
|
||||||
USE_GNOME= gnomeprefix gnomehack pygnome2
|
|
||||||
INSTALLS_OMF= yes
|
INSTALLS_OMF= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
INSTALL_TARGET= install-strip
|
||||||
|
|
||||||
.if !defined(WITHOUT_APPLET)
|
APPLET_CONFIGURE_ENABLE= applet
|
||||||
CONFIGURE_ARGS+= --enable-applet
|
NLS_USES= gettext
|
||||||
PLIST_SUB+= APPLET=""
|
NLS_CONFIGURE_ENABLE= --disable-nls
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+= --disable-applet
|
|
||||||
PLIST_SUB+= APPLET="@comment "
|
|
||||||
.endif
|
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.options.mk>
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MNLS}
|
|
||||||
USES+= gettext
|
|
||||||
PLIST_SUB+= NLS=""
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+= --disable-nls
|
|
||||||
PLIST_SUB+= NLS="@comment "
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
@${RM} ${WRKSRC}/src/config.py
|
@${RM} ${WRKSRC}/src/config.py
|
||||||
|
|
Loading…
Add table
Reference in a new issue