diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2012-06-07 22:44:21 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2012-06-07 22:44:21 +0000 |
commit | 2fa62596744270745d9d0540f5bbd839f6b78d23 (patch) | |
tree | b7e5a1ec8ce92178c23aff878c9671b8c96b7b89 /textproc/meld | |
parent | e496938a05b08a6dc0a4f3562f7615a574354e2e (diff) | |
download | ports-2fa62596744270745d9d0540f5bbd839f6b78d23.tar.gz ports-2fa62596744270745d9d0540f5bbd839f6b78d23.zip |
Convert my ports to optionsNG
Notes
Notes:
svn path=/head/; revision=298711
Diffstat (limited to 'textproc/meld')
-rw-r--r-- | textproc/meld/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/textproc/meld/Makefile b/textproc/meld/Makefile index 82e5c7e6c914..b1563f1fbf14 100644 --- a/textproc/meld/Makefile +++ b/textproc/meld/Makefile @@ -24,14 +24,17 @@ MAKE_ARGS= prefix=${PREFIX} INSTALLS_ICONS= yes INSTALLS_OMF= yes -OPTIONS= PYGNOMEDESKTOP "Code syntax hilighting (many dependencies)" off +OPTIONS_DEFINE= PYGNOMEDESKTOP +PYGNOMEDESKTOP_DESC= Code syntax hilighting (many dependencies) -.if defined(WITHOUT_NLS) -EXTRA_PATCHES= ${FILESDIR}/extra-Makefile-without_nls -PLIST_SUB+= NLS="@comment " -.else +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes PLIST_SUB+= NLS="" +.else +EXTRA_PATCHES= ${FILESDIR}/extra-Makefile-without_nls +PLIST_SUB+= NLS="@comment " .endif post-patch: @@ -48,9 +51,7 @@ post-patch: s|$$(LANG)|$$(LANG_)|g' ${WRKSRC}/${file} .endfor -.include <bsd.port.options.mk> - -.if defined(WITH_PYGNOMEDESKTOP) +.if ${PORT_OPTIONS:MPYGNOMEDESKTOP} USE_GNOME+= pygnomedesktop .endif |