summaryrefslogtreecommitdiff
path: root/devel/trio/Makefile
blob: 59934795a0cffc41b47dcdf9b83cd2336779e68b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: Makefile,v 1.4 2003/07/21 16:43:48 martti Exp $
#

DISTNAME=	trio-1.3
CATEGORIES=	devel
MASTER_SITES=	http://www.contactor.se/~dast/stuff/

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://www.contactor.se/~dast/trio/
COMMENT=	Fully matured and stable set of printf and string functions

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"