summaryrefslogtreecommitdiff
path: root/dns/dhid/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dns/dhid/Makefile')
-rw-r--r--dns/dhid/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/dns/dhid/Makefile b/dns/dhid/Makefile
index e01835a2e849..abe318814d5d 100644
--- a/dns/dhid/Makefile
+++ b/dns/dhid/Makefile
@@ -6,12 +6,16 @@
#
PORTNAME= dhid
-PORTVERSION= 3.1
+PORTVERSION= 4.0.2
CATEGORIES= net
MASTER_SITES= ftp://ftp.dhis.org/pub/dhis/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ ${PORTNAME}-3.1${EXTRACT_SUFX}
MAINTAINER= oryx@ungulate.net
+OLDWRKSRC= ${WRKDIR}/${PORTNAME}-3.1
+
MAN8= dhid.8
post-patch:
@@ -20,18 +24,14 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dhid ${PREFIX}/sbin
- ${INSTALL_MAN} ${WRKSRC}/dhid.8 ${PREFIX}/man/man8
- ${INSTALL} ${COPY} -o root -g wheel -m 600 ${WRKSRC}/dhid.conf ${PREFIX}/etc/dhid.conf.sample
+ ${INSTALL_MAN} ${OLDWRKSRC}/dhid.8 ${PREFIX}/man/man8
+ ${INSTALL} ${COPY} -o root -g wheel -m 600 ${OLDWRKSRC}/dhid.conf ${PREFIX}/etc/dhid.conf.sample
post-install:
@if [ ! -f ${PREFIX}/etc/rc.d/dhid.sh ]; then \
${ECHO} "===> Installing ${PREFIX}/etc/rc.d/dhid.sh startup file."; \
${INSTALL_SCRIPT} -m 751 ${FILESDIR}/dhid.sh ${PREFIX}/etc/rc.d/dhid.sh; \
fi;
- @${ECHO} "--------------------------------------------------------------------------"
- @${ECHO} "Before dhid can run, you will need to register with a DHIS provider."
- @${ECHO} "See http://www.dhis.org/dhis/services/ for a list of providers."
- @${ECHO} "Enter the DHIS account information into the ${PREFIX}/etc/dhid.conf file."
- @${ECHO} "--------------------------------------------------------------------------"
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>