svn commit: r399559 - head/devel/libmaa

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Oct 17 18:07:55 UTC 2015


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}/
 


More information about the svn-ports-all mailing list