summaryrefslogtreecommitdiff
path: root/devel/trio/Makefile
blob: 35c35f8aebddb2b427fdd9dfed355931b232fae2 (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.2 2003/06/02 01:20:12 jschauma 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"