diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-28 11:40:15 +0000 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-28 11:40:15 +0000 |
commit | e69f3729ef0e4a572380fb1e7dc71b714a94dd48 (patch) | |
tree | 34293de30f5091f2639436c2569268c4c6f9f1ad | |
parent | 03136a81b394edd9a44bbceda31df8c56e81f1bf (diff) | |
download | FreeBSD-ports-e69f3729ef0e4a572380fb1e7dc71b714a94dd48.zip FreeBSD-ports-e69f3729ef0e4a572380fb1e7dc71b714a94dd48.tar.gz |
- Add LICENSE
- Strip libraries
- Use options helpers
-rw-r--r-- | chinese/wenju/Makefile | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/chinese/wenju/Makefile b/chinese/wenju/Makefile index f810113..c595015 100644 --- a/chinese/wenju/Makefile +++ b/chinese/wenju/Makefile @@ -3,28 +3,25 @@ PORTNAME= wenju PORTVERSION= 1.6 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= chinese MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Collection of writing tools in Chinese +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + USES= libtool pkgconfig GNU_CONFIGURE= yes USE_GNOME= gtk20 +INSTALL_TARGET= install-strip USE_LDCONFIG= yes OPTIONS_DEFINE= NLS - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +OPTIONS_SUB= yes +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls .include <bsd.port.mk> |