svn commit: r407975 - head/net/dgd-lpmud

Pawel Pekala pawel at FreeBSD.org
Wed Feb 3 20:08:38 UTC 2016


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
- at exec mkdir -p %D/%%DATADIR%%/tmp
- at exec ln -sf %D/share/doc/dgd/kfun %D/%%DATADIR%%/lpmud/doc
- at 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
- at dirrm etc/dgd-lpmud
- at dirrmtry %%DATADIR%%/tmp
- at dirrm %%DATADIR%%/lpmud/room/sub
- at dirrm %%DATADIR%%/lpmud/room/south/obsolete
- at dirrm %%DATADIR%%/lpmud/room/south
- at dirrm %%DATADIR%%/lpmud/room/post_dir
- at dirrm %%DATADIR%%/lpmud/room/mine
- at dirrm %%DATADIR%%/lpmud/room/maze1
- at dirrm %%DATADIR%%/lpmud/room/death
- at dirrm %%DATADIR%%/lpmud/room
- at dirrm %%DATADIR%%/lpmud/players/lars/lars
- at dirrm %%DATADIR%%/lpmud/players/lars
- at dirrmtry %%DATADIR%%/lpmud/players
- at dirrm %%DATADIR%%/lpmud/open
- at dirrm %%DATADIR%%/lpmud/obj/Go
- at dirrm %%DATADIR%%/lpmud/obj
- at dirrm %%DATADIR%%/lpmud/log
- at dirrm %%DATADIR%%/lpmud/doc/w
- at dirrm %%DATADIR%%/lpmud/doc/lfun
- at dirrm %%DATADIR%%/lpmud/doc/helpdir
- at dirrm %%DATADIR%%/lpmud/doc/examples
- at dirrm %%DATADIR%%/lpmud/doc/efun
- at dirrm %%DATADIR%%/lpmud/doc/build
- at dirrm %%DATADIR%%/lpmud/doc/LPC
- at dirrm %%DATADIR%%/lpmud/doc
- at dirrm %%DATADIR%%/lpmud/dgd/sys
- at dirrm %%DATADIR%%/lpmud/dgd/std
- at dirrm %%DATADIR%%/lpmud/dgd/lib
- at dirrm %%DATADIR%%/lpmud/dgd/include
- at dirrm %%DATADIR%%/lpmud/dgd
- at dirrm %%DATADIR%%/lpmud/banish
- at dirrmtry %%DATADIR%%/lpmud
- at dirrmtry %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+ at dir %%DATADIR%%/lpmud/open
+ at dir %%DATADIR%%/lpmud/players/lars/lars
+ at dir %%DATADIR%%/lpmud/room/south/obsolete
+ at dir %%DATADIR%%/tmp


More information about the svn-ports-all mailing list