Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2016 20:08:36 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r407975 - head/net/dgd-lpmud
Message-ID:  <201602032008.u13K8ahI073319@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Wed Feb  3 20:08:36 2016
New Revision: 407975
URL: https://svnweb.freebsd.org/changeset/ports/407975

Log:
  - Remove deprecated @dirrm
  - Creating kfun link and tmp directory is already done in post-install
    target there's no need to do it with @exec in pkg-plist again
  - Use options helper
  
  PR:		206377
  Submitted by:	myself
  Approved by:	maintainer timeout

Modified:
  head/net/dgd-lpmud/Makefile
  head/net/dgd-lpmud/pkg-plist

Modified: head/net/dgd-lpmud/Makefile
==============================================================================
--- head/net/dgd-lpmud/Makefile	Wed Feb  3 19:59:59 2016	(r407974)
+++ head/net/dgd-lpmud/Makefile	Wed Feb  3 20:08:36 2016	(r407975)
@@ -3,7 +3,7 @@
 
 PORTNAME=	dgd-lpmud
 PORTVERSION=	2.4.5
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	net games
 MASTER_SITES=	LOCAL/glewis/dgd \
 		http://ftp.dworkin.nl/dgd/lib/
@@ -50,6 +50,8 @@ do-install:
 		${STAGEDIR}${DATADIR}/lpmud/ACCESS.ALLOW.example
 	${MV} ${STAGEDIR}${DATADIR}/lpmud/ACCESS.DENY \
 		${STAGEDIR}${DATADIR}/lpmud/ACCESS.DENY.example
+
+do-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 

Modified: head/net/dgd-lpmud/pkg-plist
==============================================================================
--- head/net/dgd-lpmud/pkg-plist	Wed Feb  3 19:59:59 2016	(r407974)
+++ head/net/dgd-lpmud/pkg-plist	Wed Feb  3 20:08:36 2016	(r407975)
@@ -224,6 +224,7 @@ etc/rc.d/dgd-lpmud.sh.sample
 %%DATADIR%%/lpmud/doc/helpdir/typo
 %%DATADIR%%/lpmud/doc/helpdir/who
 %%DATADIR%%/lpmud/doc/helpdir/wimpy
+%%DATADIR%%/lpmud/doc/kfun
 %%DATADIR%%/lpmud/doc/lfun/README
 %%DATADIR%%/lpmud/doc/lfun/add_money
 %%DATADIR%%/lpmud/doc/lfun/add_weight
@@ -607,9 +608,6 @@ etc/rc.d/dgd-lpmud.sh.sample
 @owner
 @group
 %%PORTDOCS%%%%DOCSDIR%%/README
-@exec mkdir -p %D/%%DATADIR%%/tmp
-@exec ln -sf %D/share/doc/dgd/kfun %D/%%DATADIR%%/lpmud/doc
-@unexec rm %D/%%DATADIR%%/lpmud/doc/kfun 2>&1 >/dev/null || true
 @comment Remove files generated by DGD
 @unexec rm -f %D/%%DATADIR%%/lpmud/dgd/include/float.h
 @unexec rm -f %D/%%DATADIR%%/lpmud/dgd/include/limits.h
@@ -618,37 +616,7 @@ etc/rc.d/dgd-lpmud.sh.sample
 @unexec rm -f %D/%%DATADIR%%/lpmud/dgd/include/type.h
 @unexec rm -f %D/%%DATADIR%%/lpmud/log/lpmud.log
 @unexec rm -f %D/%%DATADIR%%/tmp/dgd-lpmud.swap
-@dirrm etc/dgd-lpmud
-@dirrmtry %%DATADIR%%/tmp
-@dirrm %%DATADIR%%/lpmud/room/sub
-@dirrm %%DATADIR%%/lpmud/room/south/obsolete
-@dirrm %%DATADIR%%/lpmud/room/south
-@dirrm %%DATADIR%%/lpmud/room/post_dir
-@dirrm %%DATADIR%%/lpmud/room/mine
-@dirrm %%DATADIR%%/lpmud/room/maze1
-@dirrm %%DATADIR%%/lpmud/room/death
-@dirrm %%DATADIR%%/lpmud/room
-@dirrm %%DATADIR%%/lpmud/players/lars/lars
-@dirrm %%DATADIR%%/lpmud/players/lars
-@dirrmtry %%DATADIR%%/lpmud/players
-@dirrm %%DATADIR%%/lpmud/open
-@dirrm %%DATADIR%%/lpmud/obj/Go
-@dirrm %%DATADIR%%/lpmud/obj
-@dirrm %%DATADIR%%/lpmud/log
-@dirrm %%DATADIR%%/lpmud/doc/w
-@dirrm %%DATADIR%%/lpmud/doc/lfun
-@dirrm %%DATADIR%%/lpmud/doc/helpdir
-@dirrm %%DATADIR%%/lpmud/doc/examples
-@dirrm %%DATADIR%%/lpmud/doc/efun
-@dirrm %%DATADIR%%/lpmud/doc/build
-@dirrm %%DATADIR%%/lpmud/doc/LPC
-@dirrm %%DATADIR%%/lpmud/doc
-@dirrm %%DATADIR%%/lpmud/dgd/sys
-@dirrm %%DATADIR%%/lpmud/dgd/std
-@dirrm %%DATADIR%%/lpmud/dgd/lib
-@dirrm %%DATADIR%%/lpmud/dgd/include
-@dirrm %%DATADIR%%/lpmud/dgd
-@dirrm %%DATADIR%%/lpmud/banish
-@dirrmtry %%DATADIR%%/lpmud
-@dirrmtry %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dir %%DATADIR%%/lpmud/open
+@dir %%DATADIR%%/lpmud/players/lars/lars
+@dir %%DATADIR%%/lpmud/room/south/obsolete
+@dir %%DATADIR%%/tmp



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