svn commit: r368850 - head/games/lpairs

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Sep 22 11:38:15 UTC 2014


Author: amdmi3
Date: Mon Sep 22 11:38:14 2014
New Revision: 368850
URL: http://svnweb.freebsd.org/changeset/ports/368850
QAT: https://qat.redports.org/buildarchive/r368850/

Log:
  - Simplify plist

Deleted:
  head/games/lpairs/pkg-plist
Modified:
  head/games/lpairs/Makefile

Modified: head/games/lpairs/Makefile
==============================================================================
--- head/games/lpairs/Makefile	Mon Sep 22 11:35:17 2014	(r368849)
+++ head/games/lpairs/Makefile	Mon Sep 22 11:38:14 2014	(r368850)
@@ -15,17 +15,19 @@ USE_SDL=	sdl
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
+PLIST_FILES=	bin/${PORTNAME}
+PORTDATA=	*
+
 OPTIONS_DEFINE=	NLS
 
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MNLS}
-PLIST_SUB+=	NLS=""
 USES+=		gettext
 CONFIGURE_ARGS=	--with-libintl-prefix=${LOCALBASE}
+PLIST_FILES+=	share/locale/de/LC_MESSAGES/lpairs.mo
 .else
 CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+=	NLS="@comment "
 .endif
 
 post-patch:


More information about the svn-ports-head mailing list