blob: bfd003244f8be7ae654d6d1b6b53a70494b72485 (
plain) (
blame)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Ports collection Makefile for: libowfat
# Date created: Feb 21, 2004
# Whom: Thomas-Martin Seck <tmseck@netcologne.de>
#
# $FreeBSD$
#
PORTNAME= libowfat
PORTVERSION= 0.22
CATEGORIES= devel ipv6
MASTER_SITES= http://dl.fefe.de/
MAINTAINER= tmseck@netcologne.de
COMMENT= A general purpose library based on code by D. J. Bernstein
USE_BZIP2= YES
USE_GMAKE= YES
MAKEFILE= GNUmakefile
MAKE_ENV+= INSTALL="${INSTALL}"
OPTIONS= LIBOWFAT_OPTIMIZED_CFLAGS "Use optimized CFLAGS" on
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_LIBOWFAT_OPTIMIZED_CFLAGS)
CFLAGS+= -O2 -fomit-frame-pointer
.endif
.include "${FILESDIR}/manpages"
include= array.h buffer.h byte.h case.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 readclose.h safemult.h \
scan.h socket.h str.h stralloc.h tai.h taia.h textcode.h \
uint16.h uint32.h uint64.h
PLIST_DIRS= include/libowfat
PLIST_FILES= ${include:S,^,include/libowfat/,} lib/libowfat.a
.if!defined(NOPORTDOCS)
PORTDOCS= CHANGES README TODO
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
|