diff options
author | pawel <pawel@FreeBSD.org> | 2016-02-04 04:08:36 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2016-02-04 04:08:36 +0800 |
commit | b64d176ae4b96563821c2f15510ca6abf10a650f (patch) | |
tree | 632809c194f2d741e3897c288970b827f9aff24c /net | |
parent | 43c0bdb60f21c082fc7a705024f901f4195fec1e (diff) | |
download | freebsd-ports-gnome-b64d176ae4b96563821c2f15510ca6abf10a650f.tar.gz freebsd-ports-gnome-b64d176ae4b96563821c2f15510ca6abf10a650f.tar.zst freebsd-ports-gnome-b64d176ae4b96563821c2f15510ca6abf10a650f.zip |
- 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
Diffstat (limited to 'net')
-rw-r--r-- | net/dgd-lpmud/Makefile | 4 | ||||
-rw-r--r-- | net/dgd-lpmud/pkg-plist | 42 |
2 files changed, 8 insertions, 38 deletions
diff --git a/net/dgd-lpmud/Makefile b/net/dgd-lpmud/Makefile index 51ed47da3998..57787e42e913 100644 --- a/net/dgd-lpmud/Makefile +++ b/net/dgd-lpmud/Makefile @@ -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} diff --git a/net/dgd-lpmud/pkg-plist b/net/dgd-lpmud/pkg-plist index 3700e056fe89..490a66eff3d0 100644 --- a/net/dgd-lpmud/pkg-plist +++ b/net/dgd-lpmud/pkg-plist @@ -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 |