2004-02-22 14:59:34 +00:00
|
|
|
# Ports collection Makefile for: libowfat
|
|
|
|
# Date created: Feb 21, 2004
|
|
|
|
# Whom: Thomas-Martin Seck <tmseck@netcologne.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libowfat
|
2007-01-15 20:06:58 +00:00
|
|
|
PORTVERSION= 0.25
|
2004-03-28 12:17:09 +00:00
|
|
|
CATEGORIES= devel ipv6
|
2004-02-22 14:59:34 +00:00
|
|
|
MASTER_SITES= http://dl.fefe.de/
|
|
|
|
|
|
|
|
MAINTAINER= tmseck@netcologne.de
|
|
|
|
COMMENT= A general purpose library based on code by D. J. Bernstein
|
|
|
|
|
2005-09-03 17:30:13 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
2004-02-22 14:59:34 +00:00
|
|
|
|
|
|
|
MAKEFILE= GNUmakefile
|
|
|
|
|
|
|
|
OPTIONS= LIBOWFAT_OPTIMIZED_CFLAGS "Use optimized CFLAGS" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-01-15 20:06:58 +00:00
|
|
|
MAKE_ENV+= INSTALL="${INSTALL}" CC="${CC}"
|
|
|
|
|
2004-02-22 14:59:34 +00:00
|
|
|
.if !defined(WITHOUT_LIBOWFAT_OPTIMIZED_CFLAGS)
|
|
|
|
CFLAGS+= -O2 -fomit-frame-pointer
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "${FILESDIR}/manpages"
|
|
|
|
|
2007-01-15 20:06:58 +00:00
|
|
|
include= array.h buffer.h byte.h case.h cdb.h cdb_make.h dns.h errmsg.h \
|
|
|
|
fmt.h havealloca.h io.h iob.h iopause.h ip4.h ip6.h mmap.h \
|
|
|
|
ndelay.h open.h openreadclose.h rangecheck.h readclose.h \
|
|
|
|
safemult.h scan.h socket.h str.h stralloc.h tai.h taia.h \
|
|
|
|
textcode.h uint16.h uint32.h uint64.h
|
2005-03-13 15:28:50 +00:00
|
|
|
PLIST_DIRS= include/libowfat
|
|
|
|
PLIST_FILES= ${include:S,^,include/libowfat/,} lib/libowfat.a
|
2004-02-27 22:42:25 +00:00
|
|
|
PORTDOCS= CHANGES README TODO
|
2004-02-22 14:59:34 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|