Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jun 2015 17:27:04 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r388458 - head/devel/ptmalloc
Message-ID:  <201506031727.t53HR46B072062@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



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