1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/mail/eps/Makefile
Thomas Abthorpe d618c716d6 - Unbreak for amd, set CFLAGS+= -fPIC
Submitted by:	pointyhat via pavmail
Reviewed by:	miwi@
Approved by:	ismail enderunix.org (maintainer, via private email) miwi (co-mentor)
2007-10-09 20:03:45 +00:00

43 lines
893 B
Makefile

# New ports collection makefile for: eps
# Date created: 21 Jul 2005
# Whom: ismail@enderunix.org
#
# $FreeBSD$
#
PORTNAME= eps
PORTVERSION= 1.6
CATEGORIES= mail
MASTER_SITES= http://www.inter7.com/eps/
MAINTAINER= ismail@EnderUNIX.org
COMMENT= EPS is a Email Parsing System
.include <bsd.port.pre.mk>
.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 ${PREFIX}/lib
${MKDIR} ${PREFIX}/include/eps
${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/eps
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/${PORTDOCS} ${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
.include <bsd.port.post.mk>