svn commit: r323955 - head/mail/eps

Baptiste Daroussin bapt at FreeBSD.org
Tue Jul 30 12:18:54 UTC 2013


Author: bapt
Date: Tue Jul 30 12:18:53 2013
New Revision: 323955
URL: http://svnweb.freebsd.org/changeset/ports/323955

Log:
  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

Modified:
  head/mail/eps/Makefile

Modified: head/mail/eps/Makefile
==============================================================================
--- head/mail/eps/Makefile	Tue Jul 30 10:28:17 2013	(r323954)
+++ head/mail/eps/Makefile	Tue Jul 30 12:18:53 2013	(r323955)
@@ -1,18 +1,19 @@
-# New ports collection makefile for:   eps
-# Date created:                 21 Jul 2005
-# Whom:				ismail at enderunix.org
-#
+# Created by: ismail at enderunix.org
 # $FreeBSD$
-#
 
 PORTNAME=	eps
 PORTVERSION=	1.7
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	SF/${PORTNAME}inter7/${PORTNAME}inter7/${PORTVERSION}
 
 MAINTAINER=	ismail at 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}."


More information about the svn-ports-all mailing list