2005-06-16 08:57:37 +02:00
|
|
|
# $NetBSD: Makefile,v 1.5 2005/06/16 06:57:48 jlam Exp $
|
2001-06-05 14:22:53 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= trio-1.3
|
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://www.contactor.se/~dast/stuff/
|
|
|
|
|
2003-07-17 23:31:04 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2001-06-05 14:22:53 +02:00
|
|
|
HOMEPAGE= http://www.contactor.se/~dast/trio/
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Fully matured and stable set of printf and string functions
|
2001-06-05 14:22:53 +02:00
|
|
|
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= include lib man/man3
|
|
|
|
|
2001-06-05 14:22:53 +02:00
|
|
|
post-patch:
|
|
|
|
${SED} "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile \
|
|
|
|
> ${WRKSRC}/Makefile.done
|
|
|
|
${MV} ${WRKSRC}/Makefile.done ${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${INSTALL_DATA} trio.h triop.h ${PREFIX}/include
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${INSTALL_DATA} libtrio.a ${PREFIX}/lib
|
|
|
|
cd ${WRKSRC}/man/man3 && \
|
|
|
|
${INSTALL_MAN} trio_printf.3 trio_scanf.3 \
|
|
|
|
trio_register.3 strio.3 ${PREFIX}/man/man3
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|