Date: Thu, 28 Aug 2014 03:29:06 +0000 (UTC) From: "Vanilla I. Shu" <vanilla@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r366374 - in head/games/xmris: . scripts Message-ID: <201408280329.s7S3T6nP067580@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: vanilla Date: Thu Aug 28 03:29:06 2014 New Revision: 366374 URL: http://svnweb.freebsd.org/changeset/ports/366374 QAT: https://qat.redports.org/buildarchive/r366374/ Log: Support STAGEDIR PR: ports/193037 Submitted by: Ports Fury. Deleted: head/games/xmris/scripts/ Modified: head/games/xmris/Makefile head/games/xmris/pkg-plist Modified: head/games/xmris/Makefile ============================================================================== --- head/games/xmris/Makefile Thu Aug 28 03:22:49 2014 (r366373) +++ head/games/xmris/Makefile Thu Aug 28 03:29:06 2014 (r366374) @@ -3,10 +3,9 @@ PORTNAME= xmris PORTVERSION= 4.04 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games -MASTER_SITES= ${MASTER_SITE_XCONTRIB} -MASTER_SITE_SUBDIR= games +MASTER_SITES= XCONTRIB/games DISTNAME= ${PORTNAME}.${PORTVERSION} MAINTAINER= ports@FreeBSD.org @@ -14,17 +13,31 @@ COMMENT= Version of the Mr Do video arca USES= imake tar:tgz USE_XORG= x11 xext xaw xmu xt sm ice -MAKE_FLAGS= XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults -f +MAKE_ARGS= XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults ALL_TARGET= xmris xmred -MAN6= xmred.6 xmris.6 xmsit.6 -NO_STAGE= yes -post-configure: - cd ${WRKSRC} && ${REINPLACE_CMD} -e 's/MANSUFFIX = 1/MANSUFFIX = 6/' \ - -e 's/OWNER = -o games/OWNER = -g games/' \ - -e 's/^INSTMRISFLAGS.*/INSTMRISFLAGS = \$(OWNER) -m 2555/' Makefile +DESKTOP_ENTRIES="XMRis" "" "" "${PORTNAME}" "" "" -post-install: - @${CHMOD} g+w ${LOCALBASE}/lib/X11/xmris +post-build: + @${LN} -sf Xmris-ad.src ${WRKSRC}/Xmris + +do-install: +.for i in xmred xmris + (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${i} \ + ${STAGEDIR}${PREFIX}/bin) +.endfor + @${LN} -sf xmris ${STAGEDIR}${PREFIX}/bin/xmsit +.for i in xmred xmris + (cd ${WRKSRC} && ${INSTALL_MAN} ${i}.man \ + ${STAGEDIR}${MANPREFIX}/man/man6/${i}.6) +.endfor + @${LN} -sf xmris.6 ${STAGEDIR}${MANPREFIX}/man/man6/xmsit.6 + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/app-defaults + (cd ${WRKSRC} && ${INSTALL_DATA} Xmris \ + ${STAGEDIR}${PREFIX}/lib/X11/app-defaults) + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/xmris + (cd ${WRKSRC} && ${INSTALL_DATA} *.gdn \ + ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/xmris) + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/xmris .include <bsd.port.mk> Modified: head/games/xmris/pkg-plist ============================================================================== --- head/games/xmris/pkg-plist Thu Aug 28 03:22:49 2014 (r366373) +++ head/games/xmris/pkg-plist Thu Aug 28 03:29:06 2014 (r366374) @@ -1,12 +1,18 @@ +@group games +@mode 2555 bin/xmris bin/xmsit bin/xmred -@exec mkdir -p %D/lib/X11/xmris -@exec chmod 775 %D/lib/X11/xmris -@unexec rm -rf %D/lib/X11/xmris +@mode +@group +man/man6/xmred.6.gz +man/man6/xmris.6.gz +man/man6/xmsit.6.gz lib/X11/app-defaults/Xmris lib/X11/app-defaults/xmris/alphabet.gdn lib/X11/app-defaults/xmris/digits.gdn lib/X11/app-defaults/xmris/puzzle.gdn lib/X11/app-defaults/xmris/xmred.gdn +@exec install -d -g games -m 775 %D/lib/X11/xmris +@dirrmtry lib/X11/xmris @dirrm lib/X11/app-defaults/xmris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408280329.s7S3T6nP067580>