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
This commit is contained in:
Baptiste Daroussin 2013-07-30 12:18:53 +00:00
parent a4a7ab5d9c
commit 5458b37534
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323955

View file

@ -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}."