5393242c73
Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed.
31 lines
938 B
Makefile
31 lines
938 B
Makefile
# $NetBSD: Makefile,v 1.19 2018/07/04 13:40:14 jperkin Exp $
|
|
#
|
|
|
|
DISTNAME= MemMgr-1.04
|
|
PKGNAME= libmemmgr-1.04
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.snake.net/software/MemMgr/
|
|
|
|
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= pre-configure
|
|
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
|
|
|
|
.include "../../devel/libetm/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|