Date: Mon, 8 Jun 2015 01:16:55 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388795 - head/dns/opendd Message-ID: <201506080116.t581Gtw6030879@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Jun 8 01:16:54 2015 New Revision: 388795 URL: https://svnweb.freebsd.org/changeset/ports/388795 Log: - Add LICENSE - Modernize plist Modified: head/dns/opendd/Makefile Modified: head/dns/opendd/Makefile ============================================================================== --- head/dns/opendd/Makefile Mon Jun 8 00:55:40 2015 (r388794) +++ head/dns/opendd/Makefile Mon Jun 8 01:16:54 2015 (r388795) @@ -3,7 +3,7 @@ PORTNAME= opendd PORTVERSION= 0.7.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns MASTER_SITES= http://www.bsdmon.com/download/ DISTNAME= ${PORTNAME}.${PORTVERSION} @@ -11,17 +11,17 @@ DISTNAME= ${PORTNAME}.${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= DynDNS client +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING + OPTIONS_DEFINE= OPENSSL RCNG DOCS OPTIONS_DEFAULT= OPENSSL RCNG RCNG_DESC= Install RC_NG script -PORTDOCS= COPYING COPYRIGHT README +PORTDOCS= README PLIST_FILES= sbin/${PORTNAME} \ - "@unexec if cmp -s %D/%%ETCDIR%%/${PORTNAME}.conf %D/%%ETCDIR%%/${PORTNAME}.conf.default; then ${RM} -f %D/%%ETCDIR%%/${PORTNAME}.conf; fi " \ - "%%ETCDIR%%/${PORTNAME}.conf.default" \ - "@exec [ -f %B/${PORTNAME}.conf ] || ${CP} %B/%f %B/${PORTNAME}.conf" \ - "%%ETCDIR%%/${PORTNAME}.pem" \ - "@dirrmtry %%ETCDIR%%" + "@sample(,,600) %%ETCDIR%%/${PORTNAME}.conf.sample" \ + "%%ETCDIR%%/${PORTNAME}.pem" .include <bsd.port.options.mk> @@ -36,7 +36,7 @@ LDFLAGS+= -L${OPENSSLLIB} MAKE_ENV+= "USE_SOCKET_SSL=yes" .endif -pre-patch: +post-extract: @${MV} ${WRKDIR}/${PORTNAME} ${WRKDIR}/${PORTNAME}.${PORTVERSION} post-patch: @@ -58,9 +58,8 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin ${MKDIR} ${STAGEDIR}${ETCDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.default + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.pem ${STAGEDIR}${ETCDIR} - ${CHMOD} 600 ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.default .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506080116.t581Gtw6030879>