diff options
author | bapt <bapt@FreeBSD.org> | 2014-04-26 08:01:20 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-04-26 08:01:20 +0800 |
commit | a71eeba0b4a7262836818b45a5b021b00f011f6b (patch) | |
tree | 72a4a2fd8610c199b14c3815488fdbbbae2a3a7b | |
parent | 163df6da8f076d7eeee3bac9cebdc1438e485346 (diff) | |
download | freebsd-ports-gnome-a71eeba0b4a7262836818b45a5b021b00f011f6b.tar.gz freebsd-ports-gnome-a71eeba0b4a7262836818b45a5b021b00f011f6b.tar.zst freebsd-ports-gnome-a71eeba0b4a7262836818b45a5b021b00f011f6b.zip |
Support stage
Use options framework
-rw-r--r-- | sysutils/gnome-schedule/Makefile | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/sysutils/gnome-schedule/Makefile b/sysutils/gnome-schedule/Makefile index 80dcf058b921..2c123f6159c3 100644 --- a/sysutils/gnome-schedule/Makefile +++ b/sysutils/gnome-schedule/Makefile @@ -4,7 +4,7 @@ PORTNAME= gnome-schedule PORTVERSION= 2.1.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-2/${PORTNAME}-${PORTVERSION} @@ -13,33 +13,23 @@ COMMENT= GNOME GUI for configuring a users crontab LICENSE= GPLv2 +OPTIONS_DEFINE= APPLET NLS +OPTIONS_DEFAULT= APPLET +OPTIONS_SUB= yes + BUILD_DEPENDS= yelp:${PORTSDIR}/x11/yelp RUN_DEPENDS= yelp:${PORTSDIR}/x11/yelp +USES= gmake pathfix USE_PYTHON= yes -USE_GMAKE= yes -USE_GNOME= gnomeprefix gnomehack pygnome2 +USE_GNOME= gnomeprefix pygnome2 INSTALLS_OMF= yes GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip -.if !defined(WITHOUT_APPLET) -CONFIGURE_ARGS+= --enable-applet -PLIST_SUB+= APPLET="" -.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 +APPLET_CONFIGURE_ENABLE= applet +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= --disable-nls post-extract: @${RM} ${WRKSRC}/src/config.py |