diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-29 22:27:05 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-29 22:27:05 +0000 |
commit | 9ff06b3cbf038359059e40e0db31ba0cbe996d0f (patch) | |
tree | 8583dfe71adaea6ce266633e1799cd602516b801 /deskutils/x-tile | |
parent | 25c4307da135103ea810d65f96f2f1c21e0547b4 (diff) | |
download | ports-9ff06b3cbf038359059e40e0db31ba0cbe996d0f.tar.gz ports-9ff06b3cbf038359059e40e0db31ba0cbe996d0f.zip |
Notes
Diffstat (limited to 'deskutils/x-tile')
-rw-r--r-- | deskutils/x-tile/Makefile | 18 |
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> |