svn commit: r439312 - head/devel/p5-Cdk

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Apr 24 15:17:45 UTC 2017


Author: sunpoet
Date: Mon Apr 24 15:17:43 2017
New Revision: 439312
URL: https://svnweb.freebsd.org/changeset/ports/439312

Log:
  Add LICENSE_FILE
  
  - Simplify DISTNAME
  - Use USES=localbase

Modified:
  head/devel/p5-Cdk/Makefile

Modified: head/devel/p5-Cdk/Makefile
==============================================================================
--- head/devel/p5-Cdk/Makefile	Mon Apr 24 15:17:34 2017	(r439311)
+++ head/devel/p5-Cdk/Makefile	Mon Apr 24 15:17:43 2017	(r439312)
@@ -6,21 +6,21 @@ PORTVERSION=	5.20150928
 CATEGORIES=	devel perl5
 MASTER_SITES=	ftp://invisible-island.net/cdk/
 PKGNAMEPREFIX=	p5-
-DISTNAME=	cdk-perl-${PORTVERSION:C,^[0-9]\.,,}
+DISTNAME=	cdk-perl-${PORTVERSION:E}
 
 MAINTAINER=	perl at FreeBSD.org
 COMMENT=	Perl5 module for Curses Development Kit
 
 LICENSE=	BSD4CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libcdk.so:devel/cdk
 
-USES=		ncurses perl5 tar:tgz
+USES=		localbase ncurses perl5 tar:tgz
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	pure_install
 
-CPPFLAGS+=	-I${LOCALBASE}/include -I${NCURSESINC}
-LDFLAGS+=	-L${LOCALBASE}/lib
+CPPFLAGS+=	-I${NCURSESINC}
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Cdk/Cdk.so


More information about the svn-ports-head mailing list