svn commit: r389823 - head/devel/libds

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Jun 16 02:17:26 UTC 2015


Author: amdmi3
Date: Tue Jun 16 02:17:24 2015
New Revision: 389823
URL: https://svnweb.freebsd.org/changeset/ports/389823

Log:
  - Add LICENSE
  - Fix library installation

Modified:
  head/devel/libds/Makefile

Modified: head/devel/libds/Makefile
==============================================================================
--- head/devel/libds/Makefile	Tue Jun 16 02:17:20 2015	(r389822)
+++ head/devel/libds/Makefile	Tue Jun 16 02:17:24 2015	(r389823)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libds
 PORTVERSION=	1.0
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-2.1
 DISTNAME=	libds-2.1
@@ -10,18 +11,20 @@ DISTNAME=	libds-2.1
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	ANSI Generic Data Structures Library
 
+LICENSE=	BSD4CLAUSE
+
 USE_LDCONFIG=	yes
 ALL_TARGET=	gcc
-OPTIONS_DEFINE=	DOCS
 
 HTML=	avltree.html heap.html parray.html set.html hashtbl.html \
 	index.html queue.html stack.html
 
-# Copy header file and libraries.
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/ds.h ${STAGEDIR}${PREFIX}/include
 	${INSTALL_DATA} ${WRKSRC}/libds.a ${STAGEDIR}${PREFIX}/lib
-	${INSTALL_DATA} ${WRKSRC}/libds.so ${STAGEDIR}${PREFIX}/lib/libds.so.1
+	${INSTALL_LIB} ${WRKSRC}/libds.so ${STAGEDIR}${PREFIX}/lib/libds.so.1
 	${LN} -sf libds.so.1 ${STAGEDIR}${PREFIX}/lib/libds.so
 	${INSTALL_MAN} ${WRKSRC}/libds.3 ${STAGEDIR}${PREFIX}/man/man3
 	${MKDIR} ${STAGEDIR}${DOCSDIR}


More information about the svn-ports-head mailing list