aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deskutils/xchm/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/deskutils/xchm/Makefile b/deskutils/xchm/Makefile
index 52e2e4cf893e..b01ce09f22cb 100644
--- a/deskutils/xchm/Makefile
+++ b/deskutils/xchm/Makefile
@@ -10,19 +10,20 @@ MASTER_SITES= SF/${PORTNAME}/xCHM/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Windows HTML Help (.chm) viewer for UNIX
-LICENSE= GPLv2
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libchm.so:misc/chmlib
-OPTIONS_DEFINE= NLS
-OPTIONS_SUB= yes
-NLS_USES= gettext
-
GNU_CONFIGURE= yes
+USES= localbase
USE_WX= 2.8
-WX_UNICODE= yes
WX_CONF_ARGS= absolute
-LDFLAGS+= -lpthread -L${LOCALBASE}/lib
-CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -lpthread
+
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.mk>