summaryrefslogtreecommitdiff
path: root/devel/libmemmgr
diff options
context:
space:
mode:
authorben <ben>2003-12-13 16:20:09 +0000
committerben <ben>2003-12-13 16:20:09 +0000
commit64b880c38d904fd261d18b763dbcad55ace6eb72 (patch)
treea948ec63b83a047728fe0aea6d7c9637b50bf496 /devel/libmemmgr
parente326f2daf165eea354952c02956a571266de2f55 (diff)
downloadpkgsrc-64b880c38d904fd261d18b763dbcad55ace6eb72.tar.gz
Change from using packaged install program and flags, to a do-install
target in pkgsrc, in order to have a better chance of installing on Solaris and other platforms.
Diffstat (limited to 'devel/libmemmgr')
-rw-r--r--devel/libmemmgr/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/devel/libmemmgr/Makefile b/devel/libmemmgr/Makefile
index bd10fe7039b..681fc493c84 100644
--- a/devel/libmemmgr/Makefile
+++ b/devel/libmemmgr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2003/12/11 20:16:10 ben Exp $
+# $NetBSD: Makefile,v 1.8 2003/12/13 16:20:09 ben Exp $
#
DISTNAME= MemMgr-1.04
@@ -16,10 +16,11 @@ BUILD_DEPENDS+= libetm-1.09:../../devel/libetm
post-patch:
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.bak
${SED} <${WRKSRC}/Makefile.bak >${WRKSRC}/Makefile \
- -e 's|/usr/local|${PREFIX}|' \
- -e 's|/usr/ucb/install|$${BSD_INSTALL}|'
+ -e 's|/usr/local|${PREFIX}|'
-post-install:
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/libmemmgr.a ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/memmgr.h ${PREFIX}/include
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libmemmgr
groff -Tascii -ms ${WRKSRC}/memmgr.ms \
>${PREFIX}/share/doc/libmemmgr/memmgr.txt