summaryrefslogtreecommitdiff
path: root/devel/trio/Makefile
blob: 3d577c936f22f92a9b6577433040a815ba32fedc (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.1.1.1 2001/06/05 12:22:53 zuntum Exp $
#

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

MAINTAINER=	packages@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"