2013-03-08 12:32:11 +01:00
|
|
|
# Created by: Josh Gilliam <josh@quick.net>
|
1999-08-31 04:11:56 +02:00
|
|
|
# $FreeBSD$
|
1998-02-25 02:23:01 +01:00
|
|
|
|
2000-04-09 23:54:47 +02:00
|
|
|
PORTNAME= dict
|
2013-06-28 05:08:29 +02:00
|
|
|
PORTVERSION= 1.12.1
|
1999-03-22 02:17:24 +01:00
|
|
|
CATEGORIES= textproc
|
2009-08-22 02:37:17 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}d/${PORTNAME}d-${PORTVERSION}
|
2000-04-09 23:54:47 +02:00
|
|
|
DISTNAME= ${PORTNAME}d-${PORTVERSION}
|
1998-02-25 02:23:01 +01:00
|
|
|
|
2014-12-08 10:11:52 +01:00
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Dictionary Server Protocol (RFC2229) client
|
1999-10-27 11:03:55 +02:00
|
|
|
|
2014-01-26 15:42:54 +01:00
|
|
|
LICENSE= GPLv2
|
2009-01-19 03:14:21 +01:00
|
|
|
|
2014-01-26 15:42:54 +01:00
|
|
|
LIB_DEPENDS= libmaa.so:${PORTSDIR}/devel/libmaa
|
|
|
|
|
1998-02-25 02:23:01 +01:00
|
|
|
ALL_TARGET= dict
|
2014-12-08 10:11:52 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
GNU_CONFIGURE= yes
|
1998-02-25 02:23:01 +01:00
|
|
|
INSTALL_TARGET= install.dict
|
2014-12-08 10:11:52 +01:00
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
|
|
USES= bison gmake libtool:build
|
1998-02-25 02:23:01 +01:00
|
|
|
|
2001-08-21 03:07:07 +02:00
|
|
|
post-patch:
|
2014-12-08 10:11:52 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|^ mkdir| mkdir|' ${WRKSRC}/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/dict.1.in
|
2007-04-11 04:38:42 +02:00
|
|
|
|
2003-12-29 11:43:36 +01:00
|
|
|
post-install:
|
2014-01-26 15:42:54 +01:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/dict.conf ${STAGEDIR}${PREFIX}/etc/dict.conf.sample
|
2003-12-29 11:43:36 +01:00
|
|
|
|
1998-02-25 02:23:01 +01:00
|
|
|
.include <bsd.port.mk>
|