svn commit: r399368 - head/misc/help2man

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu Oct 15 20:16:32 UTC 2015


Author: sunpoet
Date: Thu Oct 15 20:16:31 2015
New Revision: 399368
URL: https://svnweb.freebsd.org/changeset/ports/399368

Log:
  - Add LICENSE_FILE
  - Use LIBS instead of CFLAGS
  - Cleanup Makefile

Modified:
  head/misc/help2man/Makefile

Modified: head/misc/help2man/Makefile
==============================================================================
--- head/misc/help2man/Makefile	Thu Oct 15 20:16:26 2015	(r399367)
+++ head/misc/help2man/Makefile	Thu Oct 15 20:16:31 2015	(r399368)
@@ -11,10 +11,11 @@ MAINTAINER=	sunpoet at 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
 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\"."


More information about the svn-ports-all mailing list