diff options
author | Gabor Kovesdan <gabor@FreeBSD.org> | 2007-02-28 20:05:21 +0000 |
---|---|---|
committer | Gabor Kovesdan <gabor@FreeBSD.org> | 2007-02-28 20:05:21 +0000 |
commit | ca4027f02e9b33de2971d354e118a64d76eea783 (patch) | |
tree | 0475415396bfc25e3f99ee7ff8e9d4fc1660b6d3 /dns/updatedd/Makefile | |
parent | 325b9d8a5962265e91049bb822e00bc6a3fb2c90 (diff) | |
download | ports-ca4027f02e9b33de2971d354e118a64d76eea783.tar.gz ports-ca4027f02e9b33de2971d354e118a64d76eea783.zip |
Notes
Diffstat (limited to 'dns/updatedd/Makefile')
-rw-r--r-- | dns/updatedd/Makefile | 38 |
1 files changed, 16 insertions, 22 deletions
diff --git a/dns/updatedd/Makefile b/dns/updatedd/Makefile index b2b1ff2d1288..ff53f1e8e039 100644 --- a/dns/updatedd/Makefile +++ b/dns/updatedd/Makefile @@ -6,39 +6,33 @@ # PORTNAME= updatedd -PORTVERSION= 1.8 -PORTREVISION= 1 +PORTVERSION= 2.6 CATEGORIES= dns -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITES= ${MASTER_SITE_SAVANNAH} MASTER_SITE_SUBDIR= ${PORTNAME} -DISTNAME= ${PORTNAME}_${PORTVERSION}-1 +DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= geniusj@ods.org COMMENT= Dynamic DNS Update Client supporting multiple services +USE_PERL5= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS+= --mandir=${PREFIX}/man WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -LIBDIR= ${PREFIX}/lib/${PORTNAME} - -MAN1= updatedd.1 -DOCS= Documentation/README.* Documentation/rc_updatedd_* - -# Default Service Plugin -# Valid services: dyndns, hn, noip, ods, ovh -DEFAULTPLUGIN?= ods - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/updatedd ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/Documentation/*.1 ${MAN1PREFIX}/man/man1 - @${MKDIR} ${LIBDIR} - ${INSTALL_DATA} ${WRKSRC}/src/plugins/*.so ${LIBDIR} - ${LN} -sf ${LIBDIR}/${DEFAULTPLUGIN}.so ${LIBDIR}/default.so -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} + +MAN1= updatedd.1 updatedd-wrapper.1 +MAN5= updatedd-wrapper.conf.5 + +.if defined(NOPORTDOCS) +EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-disable-portdocs .endif +post-install: + @if [ ! -f ${PREFIX}/etc/updatedd-wrapper.conf ]; then \ + ${CP} -p ${PREFIX}/etc/updatedd-wrapper.conf.sample ${PREFIX}/etc/updatedd-wrapper.conf ; \ + fi + .include <bsd.port.mk> |