2001-06-18 06:52:10 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: libFormat
|
|
|
|
# Date created: Jun 19, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libformat
|
2004-01-08 16:28:49 +01:00
|
|
|
PORTVERSION= 1.1
|
2001-06-18 06:52:10 +02:00
|
|
|
CATEGORIES= devel
|
2004-01-08 16:28:49 +01:00
|
|
|
MASTER_SITES= http://kingleo.pages.at/development/cpp/
|
|
|
|
DISTNAME= ${PORTNAME:S/^lib//}-${PORTVERSION}
|
2001-06-18 06:52:10 +02:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= C++ library that supports printf style like format printing
|
2001-06-18 06:52:10 +02:00
|
|
|
|
2004-01-08 16:28:49 +01:00
|
|
|
MAKEFILE= ${FILESDIR}/Makefile.lib
|
2001-06-18 06:52:10 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2004-10-31 16:37:17 +01:00
|
|
|
PORTDOCS= ChangeLog README testformat.cpp
|
|
|
|
PLIST_FILES= include/format.h lib/libformat.a lib/libformat.so lib/libformat.so.1
|
|
|
|
|
2004-08-16 04:47:09 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 502126
|
2004-10-31 16:37:17 +01:00
|
|
|
USE_GCC= 3.3
|
2004-08-16 04:47:09 +02:00
|
|
|
.endif
|
|
|
|
|
2002-04-20 17:24:12 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-10-31 16:37:17 +01:00
|
|
|
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
2002-04-20 17:24:12 +02:00
|
|
|
.endif
|
|
|
|
|
2004-08-16 04:47:09 +02:00
|
|
|
.include <bsd.port.post.mk>
|