Changeset View
Changeset View
Standalone View
Standalone View
dns/ddclient/Makefile
# Created by: Dirk Froemberg <dirk@FreeBSD.org> | # Created by: Dirk Froemberg <dirk@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= ddclient | PORTNAME= ddclient | ||||
PORTVERSION= 3.8.3 | PORTVERSION= 3.8.3 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= dns | CATEGORIES= dns | ||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} | MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} | ||||
MAINTAINER= mjl@luckie.org.nz | MAINTAINER= mjl@luckie.org.nz | ||||
COMMENT= Update dynamic DNS entries | COMMENT= Update dynamic DNS entries | ||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
NO_BUILD= yes | NO_BUILD= yes | ||||
USES= perl5 tar:bzip2 | USES= perl5 tar:bzip2 | ||||
USE_PERL5= run | USE_PERL5= run | ||||
USE_RC_SUBR= ${PORTNAME} | USE_RC_SUBR= ${PORTNAME} | ||||
RUN_DEPENDS= p5-JSON-Any>=0:converters/p5-JSON-Any | RUN_DEPENDS= p5-JSON-PP>=0:converters/p5-JSON-PP | ||||
SUB_FILES= pkg-message ddclient_force | SUB_FILES= pkg-message ddclient_force | ||||
OPTIONS_DEFINE= SSL | OPTIONS_DEFINE= SSL | ||||
OPTIONS_DEFAULT=SSL | OPTIONS_DEFAULT=SSL | ||||
SSL_RUN_DEPENDS=ca_root_nss>0:security/ca_root_nss \ | SSL_RUN_DEPENDS=ca_root_nss>0:security/ca_root_nss \ | ||||
p5-IO-Socket-SSL>0:security/p5-IO-Socket-SSL | p5-IO-Socket-SSL>0:security/p5-IO-Socket-SSL | ||||
PORTDOCS= COPYRIGHT ChangeLog README.cisco README.ssl README.md \ | PORTDOCS= COPYRIGHT ChangeLog README.cisco README.ssl README.md \ | ||||
sample-etc_cron.d_ddclient sample-etc_dhclient-exit-hooks \ | sample-etc_cron.d_ddclient sample-etc_dhclient-exit-hooks \ | ||||
sample-etc_dhcpc_dhcpcd-eth0.exe sample-etc_ppp_ip-up.local | sample-etc_dhcpc_dhcpcd-eth0.exe sample-etc_ppp_ip-up.local | ||||
PLIST_FILES= etc/ddclient.conf.sample etc/periodic/daily/ddclient_force \ | PLIST_FILES= etc/ddclient.conf.sample etc/periodic/daily/ddclient_force \ | ||||
mat: maybe the first one should be `"@sample etc/ddclient.conf.sample"` so that a default conf is… | |||||
sbin/ddclient | sbin/ddclient | ||||
post-patch: | post-patch: | ||||
@${GREP} -lR '/usr' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ | @${GREP} -lR '/usr' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ | ||||
's|/usr|${PREFIX}|g' | 's|/usr|${PREFIX}|g' | ||||
@${REINPLACE_CMD} -e 's|%%ETCDIR%%|${PREFIX}/etc| ; \ | @${REINPLACE_CMD} -e 's|%%ETCDIR%%|${PREFIX}/etc| ; \ | ||||
s|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/ddclient | s|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/ddclient | ||||
Show All 14 Lines |
maybe the first one should be "@sample etc/ddclient.conf.sample" so that a default conf is always installed.