# Created by: ismail@enderunix.org # $FreeBSD: head/mail/eps/Makefile 345330 2014-02-21 08:43:22Z ehaupt $ 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 .if ${ARCH} == "amd64" || ${ARCH} == "ia64" CFLAGS+= -fPIC .endif PORTDOCS= howto MAKE_ENV+= DEFS="${CFLAGS}" post-patch: @${REINPLACE_CMD} -e 's|^CC =|CC \?=|' \ -e 's|^DEFS =|DEFS \?=|' \ ${WRKSRC}/Makefile do-install: ${INSTALL_DATA} ${WRKSRC}/libeps.a ${STAGEDIR}${PREFIX}/lib ${MKDIR} ${STAGEDIR}${PREFIX}/include/eps ${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/eps ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include