aboutsummaryrefslogtreecommitdiff
path: root/deskutils/x-tile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-29 22:27:05 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-29 22:27:05 +0000
commit9ff06b3cbf038359059e40e0db31ba0cbe996d0f (patch)
tree8583dfe71adaea6ce266633e1799cd602516b801 /deskutils/x-tile
parent25c4307da135103ea810d65f96f2f1c21e0547b4 (diff)
downloadports-9ff06b3cbf038359059e40e0db31ba0cbe996d0f.tar.gz
ports-9ff06b3cbf038359059e40e0db31ba0cbe996d0f.zip
Notes
Diffstat (limited to 'deskutils/x-tile')
-rw-r--r--deskutils/x-tile/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/deskutils/x-tile/Makefile b/deskutils/x-tile/Makefile
index 9692d1fcc06b..2785e64d56da 100644
--- a/deskutils/x-tile/Makefile
+++ b/deskutils/x-tile/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: x-tile
-# Date created: 2010-09-17
-# Whom: Pedro Garcia Freitas <sawp@sawp.com.br>
-#
+# Created by: Pedro Garcia Freitas <sawp@sawp.com.br>
# $FreeBSD$
-#
PORTNAME= x-tile
PORTVERSION= 2.2.1
@@ -21,12 +17,9 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= X_Tile
-post-patch:
- @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
- ${WRKSRC}/x-tile ${WRKSRC}/linux/x-tile.desktop \
- ${WRKSRC}/modules/cons.py
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
@@ -35,4 +28,9 @@ PYDISTUTILS_INSTALL_TARGET= --without-gettext install
PLIST_SUB+= NLS="@comment "
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
+ ${WRKSRC}/x-tile ${WRKSRC}/linux/x-tile.desktop \
+ ${WRKSRC}/modules/cons.py
+
.include <bsd.port.mk>