svn commit: r361621 - in head: . multimedia multimedia/universal-media-server multimedia/universal-media-server/files
Adam Weinberger
adamw at adamw.org
Sun Jul 13 16:49:38 UTC 2014
On 12 Jul, 2014, at 11:22, Kurt Jaeger <pi at FreeBSD.org> wrote:
> Log:
> multimedia/universal-media-server: new port
>
> Added: head/multimedia/universal-media-server/Makefile
> ==============================================================================
> +++ head/multimedia/universal-media-server/Makefile Sat Jul 12 15:22:00 2014 (r361621)
>
> +do-install:
> + @${MKDIR} ${STAGEDIR}${UMS_PROFILE_PATH}
> + @${CP} ${WRKSRC}/UMS.conf ${STAGEDIR}${UMS_PROFILE_PATH}/UMS.conf.sample
> + @${CP} ${WRKSRC}/WEB.conf ${STAGEDIR}${UMS_PROFILE_PATH}/WEB.conf.sample
You create UMS.conf.sample and WEB.conf.sample here with cp...
> Added: head/multimedia/universal-media-server/pkg-plist
> ==============================================================================
> +++ head/multimedia/universal-media-server/pkg-plist Sat Jul 12 15:22:00 2014 (r361621)
> @@ -0,0 +1,150 @@
>
> + at exec mkdir -p %%UMS_PROFILE_PATH%%
> +%%UMS_PROFILE_PATH%%/UMS.conf.sample
> +%%UMS_PROFILE_PATH%%/WEB.conf.sample
> + at dirrmtry %%UMS_PROFILE_PATH%%
But they’re not listed with @sample. This means you’ll have stale items in ${STAGEDIR}, and stale items in ${UMS_PROFILE_PATH} on deinstallation. And it should work without the “@exec mkdir”, I think?
You may have wanted:
do-install:
${MV} ${WRKSRC}/UMS.conf ${STAGEDIR...
pkg-plist:
@sample %%UMS_PROFILE_PATH%%/UMS.conf.sample
@sample %%UMS_PROFILE_PATH%%/WEB.conf.sample
@dirrmtry %%UMS_PROFILE_PATH%%
# Adam
--
Adam Weinberger
adamw at adamw.org
http://www.adamw.org
More information about the svn-ports-head
mailing list