Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2015 20:29:21 +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: r386482 - head/www/podcastamatic
Message-ID:  <201505152029.t4FKTLDG063157@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri May 15 20:29:20 2015
New Revision: 386482
URL: https://svnweb.freebsd.org/changeset/ports/386482

Log:
  - Add LICENSE
  - Switch to @sample
  - Drop @dirrm* from plist
  - Unsilence install
  - Remove useless options.mk inclusion
  
  Approved by:	portmgr blanket

Modified:
  head/www/podcastamatic/Makefile
  head/www/podcastamatic/pkg-plist

Modified: head/www/podcastamatic/Makefile
==============================================================================
--- head/www/podcastamatic/Makefile	Fri May 15 20:29:04 2015	(r386481)
+++ head/www/podcastamatic/Makefile	Fri May 15 20:29:20 2015	(r386482)
@@ -12,6 +12,9 @@ DISTNAME=	${PORTNAME}${PORTVERSION:S/./_
 MAINTAINER=	lars.eggert@gmx.net
 COMMENT=	Automates creation of webpage and RSS feed for a podcast
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/gpl.txt
+
 RUN_DEPENDS=	p5-MP3-Info>=0:${PORTSDIR}/audio/p5-MP3-Info \
 		p5-MP4-Info>=0:${PORTSDIR}/multimedia/p5-MP4-Info
 
@@ -25,8 +28,6 @@ SUB_LIST=	PORTNAME="${PORTNAME}"
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 do-patch:
 	@${REINPLACE_CMD} -e "s|${PORTNAME}.conf|${PREFIX}/etc/${PORTNAME}.conf|"\
 		 ${WRKSRC}/${PORTNAME}.pl
@@ -42,10 +43,10 @@ do-patch:
 
 do-install:
 	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-	@${INSTALL_DATA} ${WRKSRC}/example_${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
+	${INSTALL_DATA} ${WRKSRC}/example_${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/${PORTNAME}
-	@${INSTALL_DATA} ${WRKSRC}/style.css ${STAGEDIR}${PREFIX}/share/${PORTNAME}/
+	${INSTALL_DATA} ${WRKSRC}/style.css ${STAGEDIR}${PREFIX}/share/${PORTNAME}/
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/readme.html ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/readme.html ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/www/podcastamatic/pkg-plist
==============================================================================
--- head/www/podcastamatic/pkg-plist	Fri May 15 20:29:04 2015	(r386481)
+++ head/www/podcastamatic/pkg-plist	Fri May 15 20:29:20 2015	(r386482)
@@ -1,8 +1,4 @@
 bin/podcastamatic
-@unexec if cmp -s %D/etc/podcastamatic.conf %D/etc/podcastamatic.conf.sample; then rm -f %D/etc/podcastamatic.conf; fi
-etc/podcastamatic.conf.sample
-@exec cp -n %D/%F %B/podcastamatic.conf
+@sample etc/podcastamatic.conf.sample
 %%PORTDOCS%%%%DOCSDIR%%/readme.html
 %%DATADIR%%/style.css
-@dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505152029.t4FKTLDG063157>