diff options
author | mva <mva@FreeBSD.org> | 2012-12-25 22:28:20 +0800 |
---|---|---|
committer | mva <mva@FreeBSD.org> | 2012-12-25 22:28:20 +0800 |
commit | b8f607e5829ec84ae9dfa70a867f6c0063e5acbe (patch) | |
tree | 9b44211bd3b7573b7802a86959d9b4cceddb4bb8 /games/glightoff | |
parent | d06db11ad23c7de4f82b839c660cef3df6afccb9 (diff) | |
download | freebsd-ports-gnome-b8f607e5829ec84ae9dfa70a867f6c0063e5acbe.tar.gz freebsd-ports-gnome-b8f607e5829ec84ae9dfa70a867f6c0063e5acbe.tar.zst freebsd-ports-gnome-b8f607e5829ec84ae9dfa70a867f6c0063e5acbe.zip |
- Fix NLS option behaviour
PR: ports/173424
Submitted by: nemysis <nemysis@gmx.ch> (maintainer)
Diffstat (limited to 'games/glightoff')
-rw-r--r-- | games/glightoff/Makefile | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/games/glightoff/Makefile b/games/glightoff/Makefile index 65c7aa6bb108..6a9594f6acd5 100644 --- a/games/glightoff/Makefile +++ b/games/glightoff/Makefile @@ -1,13 +1,9 @@ -# New Ports collection makefile for: glightoff -# Date created: 21 April 2012 -# Whom: nemysis@gmx.ch -# +# Created by: nemysis@gmx.ch # $FreeBSD$ -# PORTNAME= glightoff PORTVERSION= 1.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} @@ -27,8 +23,6 @@ LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= AUTHORS ChangeLog NEWS README TODO OPTIONS_DEFINE= NLS -NLS_DESC= Native Language Support via gettext -OPTIONS_DEFAULT= NLS .include <bsd.port.options.mk> @@ -40,17 +34,14 @@ PLIST_SUB+= NLS="@comment " .endif post-configure: -.if empty(PORT_OPTIONS:MNLS) +.if !${PORT_OPTIONS:MNLS} @${REINPLACE_CMD} 's|src po|src|' ${WRKSRC}/Makefile .endif post-install: -# Documentation .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} -. for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -. endfor + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif .include <bsd.port.mk> |