svn commit: r388458 - head/devel/ptmalloc

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Jun 3 17:27:04 UTC 2015


Author: amdmi3
Date: Wed Jun  3 17:27:03 2015
New Revision: 388458
URL: https://svnweb.freebsd.org/changeset/ports/388458

Log:
  - Add LICENSE
  - Fix whitespace
  - Fix library installation
  - Remove pkg-message containing a standard license

Deleted:
  head/devel/ptmalloc/pkg-message
Modified:
  head/devel/ptmalloc/Makefile

Modified: head/devel/ptmalloc/Makefile
==============================================================================
--- head/devel/ptmalloc/Makefile	Wed Jun  3 17:24:26 2015	(r388457)
+++ head/devel/ptmalloc/Makefile	Wed Jun  3 17:27:03 2015	(r388458)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ptmalloc
 PORTVERSION=	3.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	http://www.malloc.de/malloc/
 DISTNAME=	${PORTNAME}3-current
@@ -11,13 +11,16 @@ DISTNAME=	${PORTNAME}3-current
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Alternative threads-aware malloc
 
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYRIGHT
+
 USE_LDCONFIG=	yes
-WRKSRC=	${WRKDIR}/${PORTNAME}3
+WRKSRC=		${WRKDIR}/${PORTNAME}3
 
 USES=		gmake
 ALL_TARGET=	posix
 
-INCDIR=	include/${PORTNAME}
+INCDIR=		include/${PORTNAME}
 PLIST_SUB=	INCDIR=${INCDIR}
 
 BROKEN_sparc64=		hangs while building on sparc64
@@ -26,7 +29,7 @@ do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/${INCDIR}
 	${INSTALL_DATA} ${WRKSRC}/malloc-2.8.3.h ${STAGEDIR}${PREFIX}/${INCDIR}/malloc.h
 	${INSTALL_DATA} ${WRKSRC}/libptmalloc3.a ${STAGEDIR}${PREFIX}/lib/libptmalloc.a
-	${INSTALL_DATA} ${WRKSRC}/ptmalloc3.so ${STAGEDIR}${PREFIX}/lib/libptmalloc.so.3
+	${INSTALL_LIB} ${WRKSRC}/ptmalloc3.so ${STAGEDIR}${PREFIX}/lib/libptmalloc.so.3
 	${LN} -sf libptmalloc.so.3 ${STAGEDIR}${PREFIX}/lib/libptmalloc.so
 
 regression-test: build


More information about the svn-ports-head mailing list