aboutsummaryrefslogtreecommitdiff
path: root/mail/eps
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-07-30 12:18:53 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-07-30 12:18:53 +0000
commit5458b375341e03997069781771d3191be2bbcf33 (patch)
treeea0597805c8af2cddcab8df400a0c57ee92132c8 /mail/eps
parenta4a7ab5d9c62764f4381d449791a3b60fd4d18fc (diff)
downloadports-5458b375341e03997069781771d3191be2bbcf33.tar.gz
ports-5458b375341e03997069781771d3191be2bbcf33.zip
Build with standard gnu89 which will create a usable libeps.a with clang.
This allows mail/epstools to properly build with clang. Bump port revision libeps.a has to be regenerated While here: - convert to optionsng - trim header
Notes
Notes: svn path=/head/; revision=323955
Diffstat (limited to 'mail/eps')
-rw-r--r--mail/eps/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/mail/eps/Makefile b/mail/eps/Makefile
index 647e1ee08849..4984d7831065 100644
--- a/mail/eps/Makefile
+++ b/mail/eps/Makefile
@@ -1,18 +1,19 @@
-# New ports collection makefile for: eps
-# Date created: 21 Jul 2005
-# Whom: ismail@enderunix.org
-#
+# Created by: ismail@enderunix.org
# $FreeBSD$
-#
PORTNAME= eps
PORTVERSION= 1.7
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= SF/${PORTNAME}inter7/${PORTNAME}inter7/${PORTVERSION}
MAINTAINER= ismail@EnderUNIX.org
COMMENT= EPS is a Email Parsing System
+OPTIONS_DEFINE= DOCS
+
+USE_CSTD= gnu89
+
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
@@ -33,7 +34,7 @@ do-install:
${MKDIR} ${PREFIX}/include/eps
${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/eps
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/${PORTDOCS} ${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."