aboutsummaryrefslogtreecommitdiff
path: root/net/dictd/Makefile
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2006-01-02 06:37:41 +0000
committerDima Dorfman <dd@FreeBSD.org>2006-01-02 06:37:41 +0000
commitcac095595c8ebaf0d81600333998469f9678ad09 (patch)
tree660516a388c992903e2aa42c697d84cedb2af186 /net/dictd/Makefile
parent1eda9ddc5525127a058463987e38b9e2786e2d63 (diff)
downloadports-cac095595c8ebaf0d81600333998469f9678ad09.tar.gz
ports-cac095595c8ebaf0d81600333998469f9678ad09.zip
Notes
Diffstat (limited to 'net/dictd/Makefile')
-rw-r--r--net/dictd/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/net/dictd/Makefile b/net/dictd/Makefile
index 50c8d3649dc8..71276a0ea7d4 100644
--- a/net/dictd/Makefile
+++ b/net/dictd/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= dictd
-PORTVERSION= 1.10.1
+PORTVERSION= 1.10.4
PORTREVISION= 0
CATEGORIES+= net textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -36,20 +36,13 @@ ALL_TARGET= dictd dictzip
INSTALL_TARGET= install.dictd install.dictzip
post-patch:
-.for i in Makefile.in dict.1 dictd.8
+.for i in Makefile.in dict.1.in dictd.8.in
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/$i
.endfor
-.for i in example.conf
- @${REINPLACE_CMD} -e "s|/usr|${PREFIX}|g" ${WRKSRC}/$i
-.endfor
- @${REINPLACE_CMD} -e "s|%%CFLAGS%%|${CFLAGS}|g" ${WRKSRC}/zlib/Makefile
@${REINPLACE_CMD} -e "s|\([\ \t(]\)T_USER|\1T_USERNAME|g" ${WRKSRC}/*.[chly]
post-install:
@${MKDIR} ${DATADIR}
-.for i in example.conf example.dictrc example.site example2.conf example3.conf
- ${INSTALL_DATA} ${WRKSRC}/$i ${DATADIR}
-.endfor
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/${PORTNAME}.conf > ${PREFIX}/etc/${PORTNAME}.conf.sample
@[ -f ${PREFIX}/etc/${PORTNAME}.conf ] || ${CP} ${PREFIX}/etc/${PORTNAME}.conf.sample ${PREFIX}/etc/${PORTNAME}.conf
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${FILESDIR}/${PORTNAME}.sh > ${PREFIX}/etc/rc.d/${PORTNAME}.sh