Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Oct 2015 18:07:54 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r399559 - head/devel/libmaa
Message-ID:  <201510171807.t9HI7sfe028708@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Oct 17 18:07:53 2015
New Revision: 399559
URL: https://svnweb.freebsd.org/changeset/ports/399559

Log:
  - Add LICENSE_FILE
  - Convert to new options target helper
  - Cleanup Makefile

Modified:
  head/devel/libmaa/Makefile

Modified: head/devel/libmaa/Makefile
==============================================================================
--- head/devel/libmaa/Makefile	Sat Oct 17 18:07:49 2015	(r399558)
+++ head/devel/libmaa/Makefile	Sat Oct 17 18:07:53 2015	(r399559)
@@ -13,13 +13,12 @@ COMMENT=	Provides a few data structures 
 
 # The software was licensed as GPLv2. LGPL20 is for the library.
 LICENSE=	LGPL20
+LICENSE_FILE=	${WRKSRC}/COPYING.LIB
 
 OPTIONS_DEFINE=	DOCS
 
 ALL_TARGET=	lib
-CPPFLAGS+=	-I${LOCALBASE}/include
 GNU_CONFIGURE=	yes
-LIBS+=		-L${LOCALBASE}/lib
 USE_LDCONFIG=	yes
 USES=		gmake libtool:build
 
@@ -33,6 +32,8 @@ PORTDOCS=	${DOCS:T}
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmaa.so.3
+
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}/
 	cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}/
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510171807.t9HI7sfe028708>