aboutsummaryrefslogtreecommitdiff
path: root/misc/help2man
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-10-15 20:16:31 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-10-15 20:16:31 +0000
commitc33959cd3f3862d1dc378452fb4b9796b7b0c178 (patch)
treeeb5055e065169bc0e334569d923f3ea5b77fe42c /misc/help2man
parent97130f27a0d77fb7bca6ff9041a5a1858ca2a67b (diff)
downloadports-c33959cd3f3862d1dc378452fb4b9796b7b0c178.tar.gz
ports-c33959cd3f3862d1dc378452fb4b9796b7b0c178.zip
- Add LICENSE_FILE
- Use LIBS instead of CFLAGS - Cleanup Makefile
Notes
Notes: svn path=/head/; revision=399368
Diffstat (limited to 'misc/help2man')
-rw-r--r--misc/help2man/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/help2man/Makefile b/misc/help2man/Makefile
index 5311f9182dd0..ee2558dba977 100644
--- a/misc/help2man/Makefile
+++ b/misc/help2man/Makefile
@@ -11,10 +11,11 @@ MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Automatically generating simple manual pages from program output
LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
OPTIONS_DEFINE= NLS
-CFLAGS+= -L${LOCALBASE}/lib
+LIBS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
# keep gmake:lite has a dependency to avoid circular dependency
USES= gmake:lite perl5
@@ -27,7 +28,6 @@ LANGS= de el eo fi fr hr it pl pt_BR ru sr sv uk vi
LANGS_MTREE= ja # languages that already exist in BSD.local.dist
NLS_BUILD_DEPENDS= p5-Locale-gettext>=0:${PORTSDIR}/devel/p5-Locale-gettext
-NLS_CFLAGS= -lintl
NLS_CONFIGURE_ENABLE= nls
# Add note of build failure caused by Perl infrastructure change in 20130612
NLS_VARS= CONFIGURE_FAIL_MESSAGE="Please read UPDATING entry 20130612 \(http://svnweb.freebsd.org/ports/head/UPDATING\?r1=320405\&r2=320679\) and PR/184276 \(http://www.freebsd.org/cgi/query-pr.cgi\?pr=ports/184276\) to fix your Perl installation if you got the error message \"configure: error: perl module Locale::gettext required\"."