diff options
author | pawel <pawel@FreeBSD.org> | 2012-06-08 06:44:21 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2012-06-08 06:44:21 +0800 |
commit | 2a1ebc56ba5020d2bf92961dbe81972f5a54841d (patch) | |
tree | 973987c82bdc40f9b4f7cd63831224e568aba682 /polish/kadu | |
parent | 10b52a170f1d404abc5699061d2a3cf931eeb1e5 (diff) | |
download | freebsd-ports-gnome-2a1ebc56ba5020d2bf92961dbe81972f5a54841d.tar.gz freebsd-ports-gnome-2a1ebc56ba5020d2bf92961dbe81972f5a54841d.tar.zst freebsd-ports-gnome-2a1ebc56ba5020d2bf92961dbe81972f5a54841d.zip |
Convert my ports to optionsNG
Diffstat (limited to 'polish/kadu')
-rw-r--r-- | polish/kadu/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/polish/kadu/Makefile b/polish/kadu/Makefile index 8888a4d2f09c..98e674d981c7 100644 --- a/polish/kadu/Makefile +++ b/polish/kadu/Makefile @@ -52,11 +52,12 @@ USE_QT4= dbus gui network script scripttools webkit xml phonon \ WANT_GNOME= yes INSTALLS_ICONS= yes -OPTIONS= GG_EMOTS "Install GG-compatible emoticons" off +OPTIONS_DEFINE= GG_EMOTS +GG_EMOTS_DESC= Install GG-compatible emoticons .include <bsd.port.options.mk> -.if defined(WITH_GG_EMOTS) +.if ${PORT_OPTIONS:MGG_EMOTS} PLIST_SUB+= GG_EMOTS="" DISTFILES+= ${GG6_EMOTS_DISTFILE}:additions \ ${GG7_EMOTS_DISTFILE}:additions @@ -72,7 +73,7 @@ post-patch: @${FIND} ${WRKSRC} -exec ${GREP} -q "#!/bin/bash" {} \; \ -exec ${REINPLACE_CMD} -e 's|#!/bin/bash|#!/usr/bin/env bash|g' {} \; -.if defined(WITH_GG_EMOTS) +.if ${PORT_OPTIONS:MGG_EMOTS} @cd ${WRKSRC}/varia/themes/emoticons && \ ${TAR} -zxf ${_DISTDIR}/${GG6_EMOTS_DISTFILE} && \ ${MV} kompatybilne_z_GG6 gg6_compatible && \ |