mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
48f02b51c7
an email announcing their demise and give users the chance to submit fixes.
56 lines
1.2 KiB
Makefile
56 lines
1.2 KiB
Makefile
# New ports collection makefile for: ddup
|
|
# Date created: 30 September 1999
|
|
# Whom: cjm2
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ddup
|
|
PORTVERSION= 3.0.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= dns
|
|
MASTER_SITES= ${MASTER_SITES_LOCAL}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-unix
|
|
|
|
DEPRECATED= "master site disappeared, try dns/ipcheck"
|
|
EXPIRATION_DATE=2005-08-31
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A DynDNS.org client for UNIX (Now support NIC v2.0)
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
MAN1= ddup.1
|
|
MANCOMPRESSED= maybe
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
# Uncomment this if you want to enable debugging.
|
|
#DEBUG= -g
|
|
|
|
MAKE_ARGS= DEBUG="${DEBUG}"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-extract:
|
|
@${GUNZIP_CMD} ${WRKSRC}/ddup.1.gz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/ddupcron.sh
|
|
@${REINPLACE_CMD} -e 's,/etc\b,${PREFIX}$$&,' ${WRKSRC}/ddup.1
|
|
|
|
pre-build:
|
|
@${CP} ${FILESDIR}/Makefile ${WRKSRC}/
|
|
@${ECHO_CMD} "#define file_name \"${PREFIX}/etc/ddup.conf\"" \
|
|
> ${WRKSRC}/options.h
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ddupcron.sh ${PREFIX}/sbin
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|