diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-09-12 00:42:03 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-09-12 00:42:03 +0800 |
commit | 0bf8b0929b5d0f49c28b6ce0d9e6201f42951ece (patch) | |
tree | 4317d266ffda2b57584a8719e252ab2cab050ed0 /deskutils/xchm | |
parent | d3a783727e3d8db94f6b27376c49da9bf68bae90 (diff) | |
download | freebsd-ports-gnome-0bf8b0929b5d0f49c28b6ce0d9e6201f42951ece.tar.gz freebsd-ports-gnome-0bf8b0929b5d0f49c28b6ce0d9e6201f42951ece.tar.zst freebsd-ports-gnome-0bf8b0929b5d0f49c28b6ce0d9e6201f42951ece.zip |
- Fix LICENSE
- Add LICENSE_FILE
- Drop unneeded WX_UNICODE
- Switch to USES=localbase
- Actually disable NLS support when NLS option is off
Diffstat (limited to 'deskutils/xchm')
-rw-r--r-- | deskutils/xchm/Makefile | 17 |
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> |