diff options
author | Alex Dupre <ale@FreeBSD.org> | 2004-02-22 14:59:34 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2004-02-22 14:59:34 +0000 |
commit | a75a3d48da877994397974d6f8bf47425a44fbb3 (patch) | |
tree | eba773f8b5635dca0a17b1f8830a83f252d6349a /devel/libowfat/Makefile | |
parent | 4b4edd585e6a4868543d3b4d06f74fef4b0cb9c5 (diff) |
Notes
Diffstat (limited to 'devel/libowfat/Makefile')
-rw-r--r-- | devel/libowfat/Makefile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/devel/libowfat/Makefile b/devel/libowfat/Makefile new file mode 100644 index 000000000000..bf4ec8ab6208 --- /dev/null +++ b/devel/libowfat/Makefile @@ -0,0 +1,47 @@ +# Ports collection Makefile for: libowfat +# Date created: Feb 21, 2004 +# Whom: Thomas-Martin Seck <tmseck@netcologne.de> +# +# $FreeBSD$ +# + +PORTNAME= libowfat +PORTVERSION= 0.17 +CATEGORIES= devel +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+= MAN3PREFIX=${MAN3PREFIX} + +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" + +PLIST_FILES= lib/libowfat.a +.if!defined(NOPORTDOCS) +PORTDOCS= README +.endif + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} +.endif +# add installed header files to packaging list: + @cd ${PREFIX} && \ + ${FIND} include/libowfat -type f -o -type l | ${SORT} >>${TMPPLIST} + @${ECHO_CMD} "@dirrm include/libowfat" >>${TMPPLIST} + +.include <bsd.port.post.mk> |