2013-12-08 17:18:35 +01:00
|
|
|
# $NetBSD: Makefile,v 1.18 2013/12/08 16:18:35 bsiegert Exp $
|
2001-04-27 14:10:40 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= MemMgr-1.04
|
|
|
|
PKGNAME= libmemmgr-1.04
|
|
|
|
CATEGORIES= devel
|
2003-12-11 20:24:33 +01:00
|
|
|
MASTER_SITES= http://www.snake.net/software/MemMgr/
|
2001-04-27 14:10:40 +02:00
|
|
|
|
2006-12-15 15:34:18 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-12-11 20:24:33 +01:00
|
|
|
HOMEPAGE= ${MASTER_SITES}
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Simple memory manager library
|
2001-04-27 14:10:40 +02:00
|
|
|
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}/memmgr-1.04
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= include lib
|
2013-12-08 17:18:35 +01:00
|
|
|
USE_TOOLS+= groff
|
2004-01-20 13:07:06 +01:00
|
|
|
|
2013-12-08 17:18:35 +01:00
|
|
|
SUBST_CLASSES+= prefix
|
|
|
|
SUBST_STAGE.prefix= post-patch
|
|
|
|
SUBST_MESSAGE.prefix= Fixing absolute paths.
|
|
|
|
SUBST_FILES.prefix= Makefile
|
|
|
|
SUBST_SED.prefix= -e 's|/usr/local|${PREFIX}|'
|
2001-04-27 14:10:40 +02:00
|
|
|
|
2003-12-13 17:20:09 +01:00
|
|
|
do-install:
|
2008-03-03 18:45:33 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/libmemmgr.a ${DESTDIR}${PREFIX}/lib
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/memmgr.h ${DESTDIR}${PREFIX}/include
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/libmemmgr
|
2013-12-08 17:18:35 +01:00
|
|
|
${TOOLS_PATH.groff} -Tascii -ms ${WRKSRC}/memmgr.ms \
|
2008-03-03 18:45:33 +01:00
|
|
|
>${DESTDIR}${PREFIX}/share/doc/libmemmgr/memmgr.txt
|
2001-04-27 14:10:40 +02:00
|
|
|
|
2005-04-05 13:11:05 +02:00
|
|
|
.include "../../devel/libetm/buildlink3.mk"
|
2001-04-27 14:10:40 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|