ae2c66a205
doesn't support -ms.
32 lines
830 B
Makefile
32 lines
830 B
Makefile
# $NetBSD: Makefile,v 1.18 2014/07/14 19:20:46 jperkin Exp $
|
|
#
|
|
|
|
DISTNAME= ETM-1.09
|
|
PKGNAME= libetm-1.09
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.snake.net/software/ETM/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= ${MASTER_SITES}
|
|
COMMENT= Exception and termination manager
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
WRKSRC= ${WRKDIR}/etm
|
|
INSTALLATION_DIRS= include lib
|
|
|
|
USE_TOOLS+= groff
|
|
|
|
post-patch:
|
|
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.bak
|
|
${SED} <${WRKSRC}/Makefile.bak >${WRKSRC}/Makefile \
|
|
-e 's|/usr/local|${PREFIX}|'
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/libetm.a ${DESTDIR}${PREFIX}/lib
|
|
${INSTALL_DATA} ${WRKSRC}/etm.h ${DESTDIR}${PREFIX}/include
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/libetm
|
|
nroff -ms ${WRKSRC}/etm.ms \
|
|
>${DESTDIR}${PREFIX}/share/doc/libetm/etm.txt
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|