From 48d5adb9d53b08cdbb153830dc599b1c67f1cbdc Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Thu, 5 Mar 2015 03:23:30 +0000 Subject: - Clarify LICENSE - Add LICENSE_FILE - Fix build with disabled NLS - Add empty directory to plist --- chinese/pcmanx/Makefile | 4 +++- chinese/pcmanx/pkg-plist | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/chinese/pcmanx/Makefile b/chinese/pcmanx/Makefile index 903e4a9141a4..76fa1bab0883 100644 --- a/chinese/pcmanx/Makefile +++ b/chinese/pcmanx/Makefile @@ -10,7 +10,8 @@ DISTNAME= ${PORTNAME}-gtk2-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= BBS client using GTK+ 2.x -LICENSE= GPLv2 +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING USE_GNOME= gtk20 intlhack USES= tar:xz iconv gmake pkgconfig @@ -36,6 +37,7 @@ PLIST_SUB+= NLS="" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .else +USES+= gettext CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif diff --git a/chinese/pcmanx/pkg-plist b/chinese/pcmanx/pkg-plist index 1bc3b9d45e0f..068309516363 100644 --- a/chinese/pcmanx/pkg-plist +++ b/chinese/pcmanx/pkg-plist @@ -12,3 +12,4 @@ share/applications/pcmanx.desktop %%DATADIR%%/nancy_bot/example_usages.data %%DATADIR%%/sitelist share/pixmaps/pcmanx.svg +@dir %%DATADIR%%/script -- cgit