aboutsummaryrefslogtreecommitdiff
path: root/devel/libowfat
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-11 13:15:45 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-11 13:15:45 +0000
commit8e333308211c2bdccff1ce35bd20137270945a6e (patch)
tree5ff68e9d5b3d3836bb14f862c334a93871111f7f /devel/libowfat
parent9809cc72d14ace198094bec1b7a8ccfa76d64295 (diff)
downloadports-8e333308211c2bdccff1ce35bd20137270945a6e.tar.gz
ports-8e333308211c2bdccff1ce35bd20137270945a6e.zip
Notes
Diffstat (limited to 'devel/libowfat')
-rw-r--r--devel/libowfat/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/devel/libowfat/Makefile b/devel/libowfat/Makefile
index 37abbfb51fd6..4040108459c6 100644
--- a/devel/libowfat/Makefile
+++ b/devel/libowfat/Makefile
@@ -1,9 +1,5 @@
-# Ports collection Makefile for: libowfat
-# Date created: Feb 21, 2004
-# Whom: Thomas-Martin Seck <tmseck@netcologne.de>
-#
+# Created by: Thomas-Martin Seck <tmseck@netcologne.de>
# $FreeBSD$
-#
PORTNAME= libowfat
PORTVERSION= 0.29
@@ -19,13 +15,14 @@ ALL_TARGET= dep all
MAKEFILE= GNUmakefile
-OPTIONS= LIBOWFAT_OPTIMIZED_CFLAGS "Use optimized CFLAGS" on
+OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS
+OPTIONS_DEFAULT= OPTIMIZED_CFLAGS
.include <bsd.port.pre.mk>
MAKE_ENV+= INSTALL="${INSTALL}"
-.if defined(WITH_LIBOWFAT_OPTIMIZED_CFLAGS)
+.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
CFLAGS+= -O2 -fomit-frame-pointer
.endif
@@ -53,7 +50,7 @@ post-patch:
${REINPLACE_CMD} -e '56s|return ||' ${WRKSRC}/CAS.h
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif