Date: Tue, 10 Jun 2014 05:27:47 +0000 (UTC) From: Akinori MUSHA <knu@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r357264 - head/games/unnethack Message-ID: <201406100527.s5A5RlRn070303@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: knu Date: Tue Jun 10 05:27:47 2014 New Revision: 357264 URL: http://svnweb.freebsd.org/changeset/ports/357264 QAT: https://qat.redports.org/buildarchive/r357264/ Log: Add staging support and remove NO_STAGEDIR. Legacy pkg_tools support may have been broken. Modified: head/games/unnethack/Makefile head/games/unnethack/pkg-plist Modified: head/games/unnethack/Makefile ============================================================================== --- head/games/unnethack/Makefile Tue Jun 10 05:14:39 2014 (r357263) +++ head/games/unnethack/Makefile Tue Jun 10 05:27:47 2014 (r357264) @@ -19,28 +19,29 @@ MAKE_JOBS_UNSAFE= yes VARDIR_REL= var/games/${PORTNAME} VARDIR= ${PREFIX}/${VARDIR_REL} CONFIGURE_ARGS= --datadir="${DATADIR:H}" --localstatedir="${VARDIR:H}" --docdir="${DOCSDIR:H}" \ - --with-owner=games --with-group=games \ + --with-owner=no --with-group=no \ --enable-data-librarian -MAKE_ARGS= FILEPERM=0664 \ - VARFILEPERM=0664 \ - VARDIRPERM=0775 +MAKE_ARGS= MANPREFIX="${STAGEDIR}${MANPREFIX}" INSTALL_TARGET= install manpages PKGDEINSTALL= ${WRKDIR}/pkg-deinstall SUB_FILES= pkg-deinstall SUB_LIST= VARDIR="${VARDIR}" PLIST_SUB= VARDIR="${VARDIR_REL}" -# This port accually conflicts with other nethack variant ports on -# these commands that are only significant for those who want to -# "hack" the game in deep. -MAN6= dgn_comp.6 dlb.6 lev_comp.6 recover.6 ${PORTNAME}.6 -NO_STAGE= yes post-patch: ${MV} ${WRKSRC}/doc/nethack.6 ${WRKSRC}/doc/${PORTNAME}.6 post-install: + cd ${STAGEDIR}${PREFIX}/man/man6; \ + for f in ${WRKSRC}/doc/*.6; do \ + fn=$${f##*/}; \ + case $$fn in \ + unnethack.6) ;; \ + *) ${MV} $$fn unnethack_$$fn ;; \ + esac; \ + done .if !defined(NOPORTDOCS) - ${INSTALL_DATA} ${FILESDIR}/sample.unnethackrc ${DOCSDIR} + ${INSTALL_DATA} ${FILESDIR}/sample.unnethackrc ${STAGEDIR}${DOCSDIR} .endif @${CAT} ${PKGMESSAGE} Modified: head/games/unnethack/pkg-plist ============================================================================== --- head/games/unnethack/pkg-plist Tue Jun 10 05:14:39 2014 (r357263) +++ head/games/unnethack/pkg-plist Tue Jun 10 05:27:47 2014 (r357264) @@ -1,16 +1,30 @@ +@owner games +@group games +@mode 2755 bin/unnethack +@mode %%DATADIR%%/nhdat %%DATADIR%%/recover %%DATADIR%%/unnethack @dirrm %%DATADIR%% +@mode 664 %%VARDIR%%/logfile %%VARDIR%%/perm %%VARDIR%%/record %%VARDIR%%/xlogfile +@mode 775 @dirrmtry %%VARDIR%%/bones @dirrmtry %%VARDIR%%/level @dirrmtry %%VARDIR%%/saves @unexec rmdir -p %D/%%VARDIR%% 2>/dev/null || true +@owner +@group +@mode +man/man6/unnethack_dgn_comp.6.gz +man/man6/unnethack_dlb.6.gz +man/man6/unnethack_lev_comp.6.gz +man/man6/unnethack_recover.6.gz +man/man6/unnethack.6.gz %%DOCSDIR%%/Guidebook.txt %%DOCSDIR%%/license %%PORTDOCS%%%%DOCSDIR%%/sample.unnethackrc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406100527.s5A5RlRn070303>