1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/net/dictd/Makefile
Sunpoet Po-Chuan Hsieh 8e41174ddb - Remove unrecognized CONFIGURE_ARGS
- Cosmetic change
- Do not silence installation message
- Reformat pkg-descr
- Add sourceforge to WWW
- Take maintainership
2014-12-08 09:12:03 +00:00

35 lines
938 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= dictd
PORTVERSION= 1.12.1
CATEGORIES+= net textproc
MASTER_SITES= SF/dict/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Dict protocol (RFC 2229) server
LICENSE= GPLv2
LIB_DEPENDS= libmaa.so:${PORTSDIR}/devel/libmaa
ALL_TARGET= dictd dictzip
CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
INSTALL_TARGET= install.dictd install.dictzip
LIBS+= -L${LOCALBASE}/lib
USES= bison gmake libtool:build
SUB_FILES= dictd.conf pkg-message
SUB_LIST= PORTSDIR=${PORTSDIR}
USE_RC_SUBR= ${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/Makefile.in ${WRKSRC}/dict.1.in ${WRKSRC}/dictd.8.in
@${REINPLACE_CMD} -e "s|\([\ \t(]\)T_USER|\1T_USERNAME|g" ${WRKSRC}/*.[chly]
post-install:
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
.include <bsd.port.mk>