pkgsrc/devel/libmemmgr/Makefile

32 lines
936 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.18 2013/12/08 16:18:35 bsiegert Exp $
#
DISTNAME= MemMgr-1.04
PKGNAME= libmemmgr-1.04
CATEGORIES= devel
MASTER_SITES= http://www.snake.net/software/MemMgr/
2006-12-15 15:34:18 +01:00
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= ${MASTER_SITES}
COMMENT= Simple memory manager library
WRKSRC= ${WRKDIR}/memmgr-1.04
INSTALLATION_DIRS= include lib
USE_TOOLS+= groff
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}|'
do-install:
${INSTALL_DATA} ${WRKSRC}/libmemmgr.a ${DESTDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/memmgr.h ${DESTDIR}${PREFIX}/include
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/libmemmgr
${TOOLS_PATH.groff} -Tascii -ms ${WRKSRC}/memmgr.ms \
>${DESTDIR}${PREFIX}/share/doc/libmemmgr/memmgr.txt
2005-04-05 13:11:05 +02:00
.include "../../devel/libetm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"