1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/net/dictd/Makefile
Sunpoet Po-Chuan Hsieh 6a08d6b0e4 Update to 1.4.1
- Change MASTER_SITES from SF to GitHub
- Update LICENSE
- Use PLIST
- Update WWW
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/cheusov/libmaa/blob/master/doc/NEWS
2018-03-03 16:29:52 +00:00

35 lines
923 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= dictd
PORTVERSION= 1.12.1
PORTREVISION= 1
CATEGORIES+= net textproc
MASTER_SITES= SF/dict/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Dict protocol (RFC 2229) server
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmaa.so:devel/libmaa
ALL_TARGET= dictd dictzip
GNU_CONFIGURE= yes
INSTALL_TARGET= install.dictd install.dictzip
USES= bison gmake libtool:build localbase
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>