mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
c59a3834c4
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are currently broken. This is a temporary measure until we organically stop using := or someone(s) spend a lot of time changing all the ports over. Explicit duplication > := > = and this just moves ports one step to the left Approved by: portmgr
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# New ports collection makefile for: epstools
|
|
# Date created: 21 Jul 2005
|
|
# Whom: ismail@enderunix.org
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= epstools
|
|
PORTVERSION= 1.8
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.inter7.com/eps/
|
|
|
|
MAINTAINER= ismail@EnderUNIX.org
|
|
COMMENT= EPS (Email Parsing System) sample tools
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libeps.a:${PORTSDIR}/mail/eps
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
PORTDOCS= README
|
|
|
|
MAKE_ENV+= DEFS="-I${LOCALBASE}/include/eps ${CFLAGS}"
|
|
SUB_FILES= pkg-message
|
|
|
|
EXAMPLE_FILES= addr.1 addr.2 addr.3 addr.4 email.1 email.2 virus.email
|
|
INSTALL_FILES= address b64decode b64encode body fold full headers qpdecode rewrite
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|^CC =|CC \?=|' \
|
|
-e 's|^DEFS =|DEFS \?=|' \
|
|
-e 's|^LIBS = -leps|LIBS = ${LOCALBASE}/lib/libeps.a|' \
|
|
${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
.for f in ${INSTALL_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/bin/eps-${f}
|
|
.endfor
|
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
.for f in ${EXAMPLE_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/content/${f} ${EXAMPLESDIR}
|
|
.endfor
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|