aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2013-07-10 19:41:30 +0000
committerPawel Pekala <pawel@FreeBSD.org>2013-07-10 19:41:30 +0000
commite482e392f687b2248d2975d68327324a858e1273 (patch)
treef00883f68004a81b9e525ad5cc94de309898b666 /textproc
parent5183b406511b98ffef72263a3609234aaaa0d4fb (diff)
downloadports-e482e392f687b2248d2975d68327324a858e1273.tar.gz
ports-e482e392f687b2248d2975d68327324a858e1273.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/coccigrep/Makefile3
-rw-r--r--textproc/coccigrep/pkg-plist3
-rw-r--r--textproc/meld/Makefile15
3 files changed, 8 insertions, 13 deletions
diff --git a/textproc/coccigrep/Makefile b/textproc/coccigrep/Makefile
index e411b470b554..8200715c60d2 100644
--- a/textproc/coccigrep/Makefile
+++ b/textproc/coccigrep/Makefile
@@ -22,6 +22,9 @@ USE_PYDISTUTILS=easy_install
MANCOMPRESSED= no
MAN1= coccigrep.1
+PORTDOCS= ChangeLog README.rst
+
+OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
diff --git a/textproc/coccigrep/pkg-plist b/textproc/coccigrep/pkg-plist
index 0388443306b5..e200da1c8a62 100644
--- a/textproc/coccigrep/pkg-plist
+++ b/textproc/coccigrep/pkg-plist
@@ -19,9 +19,6 @@ bin/coccigrep
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
%%DATADIR%%/cocci-grep.el
%%DATADIR%%/cocci-grep.vim
-%%PORTDOCS%%%%DOCSDIR%%/README.rst
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%DATADIR%%
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/coccigrep/data
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/coccigrep
diff --git a/textproc/meld/Makefile b/textproc/meld/Makefile
index 4e36c91102ce..1c8e3aabb368 100644
--- a/textproc/meld/Makefile
+++ b/textproc/meld/Makefile
@@ -13,24 +13,19 @@ LICENSE= GPLv2
USE_XZ= yes
USE_GNOME= pygnome2
-USES= desktop-file-utils
+USES= gmake desktop-file-utils
USE_PYTHON= -2.7
-USE_GMAKE= yes
MAKE_ARGS= prefix=${PREFIX}
INSTALLS_ICONS= yes
INSTALLS_OMF= yes
-OPTIONS_DEFINE= PYGNOMEDESKTOP
+OPTIONS_DEFINE= NLS PYGNOMEDESKTOP
+OPTIONS_SUB= yes
PYGNOMEDESKTOP_DESC= Code syntax highlighting (many dependencies)
-.include <bsd.port.options.mk>
+NLS_USES= gettext
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-PLIST_SUB+= NLS="@comment "
-.endif
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} '/docdir_/d' ${WRKSRC}/Makefile