aboutsummaryrefslogtreecommitdiff
path: root/devel/ptmalloc
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2006-06-23 13:31:52 +0000
committerVasil Dimov <vd@FreeBSD.org>2006-06-23 13:31:52 +0000
commit2eae03eb505c82f03c7baa9b0c91ff5fd6196510 (patch)
tree415e4ff3eede5d656669b47151fbc1033f604a87 /devel/ptmalloc
parentc743ce2ba2e22292212abad76fd94050224743ba (diff)
downloadports-2eae03eb505c82f03c7baa9b0c91ff5fd6196510.tar.gz
ports-2eae03eb505c82f03c7baa9b0c91ff5fd6196510.zip
Notes
Diffstat (limited to 'devel/ptmalloc')
-rw-r--r--devel/ptmalloc/Makefile9
-rw-r--r--devel/ptmalloc/pkg-plist2
2 files changed, 10 insertions, 1 deletions
diff --git a/devel/ptmalloc/Makefile b/devel/ptmalloc/Makefile
index 95c946f960a1..ceffd5881b73 100644
--- a/devel/ptmalloc/Makefile
+++ b/devel/ptmalloc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ptmalloc
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.malloc.de/malloc/
DISTNAME= ptmalloc
@@ -14,7 +15,13 @@ DISTNAME= ptmalloc
MAINTAINER= grog@FreeBSD.org
COMMENT= Alternative malloc, performs better with threaded applications
+INCDIR= include/${PORTNAME}
+
+PLIST_SUB= INCDIR=${INCDIR}
+
do-install: all
+ ${MKDIR} ${PREFIX}/${INCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ptmalloc.h ${PREFIX}/${INCDIR}/malloc.h
${INSTALL_PROGRAM} ${WRKSRC}/ptmalloc.so ${PREFIX}/lib/libptmalloc.so.1
${INSTALL_PROGRAM} ${WRKSRC}/ptmalloc.so ${PREFIX}/lib/libptmalloc.so
${INSTALL_PROGRAM} ${WRKSRC}/libptmalloc.a ${PREFIX}/lib/libptmalloc.a
@@ -22,7 +29,7 @@ do-install: all
post-install:
@${ECHO_CMD}
@${ECHO_CMD} Not much documentation is available.
- @${ECHO_CMD} Read work/ptmalloc/README for what there is.
+ @${ECHO_CMD} Read ${WRKSRC:S|^${WRKDIRPREFIX}${.CURDIR}/||}/README for what there is.
@${ECHO_CMD} See also pkg_descr
@${ECHO_CMD}
diff --git a/devel/ptmalloc/pkg-plist b/devel/ptmalloc/pkg-plist
index 7393fab91938..bf930b1eeb59 100644
--- a/devel/ptmalloc/pkg-plist
+++ b/devel/ptmalloc/pkg-plist
@@ -1,3 +1,5 @@
+%%INCDIR%%/malloc.h
lib/libptmalloc.a
lib/libptmalloc.so
lib/libptmalloc.so.1
+@dirrm %%INCDIR%%