Date: Tue, 29 Oct 2013 02:08:54 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331923 - head/games/cgoban Message-ID: <201310290208.r9T28sxW039884@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Oct 29 02:08:54 2013 New Revision: 331923 URL: http://svnweb.freebsd.org/changeset/ports/331923 Log: - Support staging - Respect CFLAGS - Remove unneeded USE_GMAKE Modified: head/games/cgoban/Makefile Modified: head/games/cgoban/Makefile ============================================================================== --- head/games/cgoban/Makefile Tue Oct 29 02:07:34 2013 (r331922) +++ head/games/cgoban/Makefile Tue Oct 29 02:08:54 2013 (r331923) @@ -10,20 +10,19 @@ MASTER_SITES= SF/${PORTNAME}1/${PORTNAME MAINTAINER= amdmi3@FreeBSD.org COMMENT= Internet Go Server client and game editor -USE_GMAKE= yes GNU_CONFIGURE= yes USE_XORG= x11 ice sm -MAN6= cgoban.6 -PLIST_FILES= bin/cgoban +PLIST_FILES= bin/cgoban \ + man/man6/cgoban.6.gz -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/gnugo|${LOCALBASE}/bin/gnugo|' ${WRKSRC}/src/cgoban.c - @${REINPLACE_CMD} -e 's|linux/soundcard.h|sys/soundcard.h|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|linux/soundcard.h|sys/soundcard.h|; \ + /CFLAGS='\''-O2/ d' ${WRKSRC}/configure do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/cgoban ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/man6/cgoban.6 ${MANPREFIX}/man/man6 + ${INSTALL_PROGRAM} ${WRKSRC}/src/cgoban ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/man6/cgoban.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/ .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310290208.r9T28sxW039884>