pkgsrc/devel/libmemmgr/Makefile

29 lines
793 B
Makefile

# $NetBSD: Makefile,v 1.11 2004/01/20 12:13:28 agc Exp $
#
DISTNAME= MemMgr-1.04
PKGNAME= libmemmgr-1.04
CATEGORIES= devel
MASTER_SITES= http://www.snake.net/software/MemMgr/
MAINTAINER= ben@NetBSD.org
HOMEPAGE= ${MASTER_SITES}
COMMENT= Simple memory manager library
BUILD_DEPENDS+= libetm-1.09:../../devel/libetm
WRKSRC= ${WRKDIR}/memmgr-1.04
post-patch:
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.bak
${SED} <${WRKSRC}/Makefile.bak >${WRKSRC}/Makefile \
-e 's|/usr/local|${PREFIX}|'
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
.include "../../mk/bsd.pkg.mk"