Date: Fri, 14 Mar 2014 08:33:43 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r348168 - head/games/plonx Message-ID: <201403140833.s2E8XmUM075813@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Fri Mar 14 08:33:43 2014 New Revision: 348168 URL: http://svnweb.freebsd.org/changeset/ports/348168 QAT: https://qat.redports.org/buildarchive/r348168/ Log: - Support staging - Define DOCS option Modified: head/games/plonx/Makefile Modified: head/games/plonx/Makefile ============================================================================== --- head/games/plonx/Makefile Fri Mar 14 08:18:20 2014 (r348167) +++ head/games/plonx/Makefile Fri Mar 14 08:33:43 2014 (r348168) @@ -14,16 +14,15 @@ PORTDOCS= README LDFLAGS+= -lncurses -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-build: ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/${PORTNAME} \ ${WRKSRC}/${PORTNAME}.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403140833.s2E8XmUM075813>