mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
47967296c3
PR: 91294 Submitted by: Rong-En Fan
42 lines
1.0 KiB
Makefile
42 lines
1.0 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: dict
|
|
# Date created: 19 February 1998
|
|
# Whom: Josh Gilliam <josh@quick.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dict
|
|
PORTVERSION= 1.10.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= dict
|
|
DISTNAME= ${PORTNAME}d-${PORTVERSION}
|
|
|
|
MAINTAINER= dd@FreeBSD.org
|
|
COMMENT= Dictionary Server Protocol (RFC2229) client
|
|
|
|
USE_BISON= yes
|
|
USE_REINPLACE= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
CONFIGURE_ARGS= --without-local-zlib --with-cflags="${CFLAGS}" \
|
|
--with-etcdir=${PREFIX}/etc
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
USE_GMAKE= yes
|
|
ALL_TARGET= dict
|
|
INSTALL_TARGET= install.dict
|
|
MAN1= dict.1 dictl.1
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/dict.1.in
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${FILESDIR}/dict.conf ${PREFIX}/etc/dict.conf.sample
|
|
if [ ! -f ${PREFIX}/etc/dict.conf ]; then \
|
|
${CP} -p ${PREFIX}/etc/dict.conf.sample ${PREFIX}/etc/dict.conf; \
|
|
fi
|
|
|
|
.include <bsd.port.mk>
|