Date: Mon, 6 Jan 2014 01:17:02 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338836 - head/graphics/photopc Message-ID: <201401060117.s061H24E074221@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nemysis Date: Mon Jan 6 01:17:01 2014 New Revision: 338836 URL: http://svnweb.freebsd.org/changeset/ports/338836 Log: - Support STAGEDIR - Add DOCS Option - Disable all warnings with -w Modified: head/graphics/photopc/Makefile Modified: head/graphics/photopc/Makefile ============================================================================== --- head/graphics/photopc/Makefile Mon Jan 6 00:51:33 2014 (r338835) +++ head/graphics/photopc/Makefile Mon Jan 6 01:17:01 2014 (r338836) @@ -14,19 +14,20 @@ GNU_CONFIGURE= yes PLIST_FILES= bin/epinfo \ bin/photopc \ include/eph_io.h \ - lib/libeph_io.a - -MAN1= epinfo.1 photopc.1 + lib/libeph_io.a \ + man/man1/epinfo.1.gz \ + man/man1/photopc.1.gz PORTDOCS= README protocol.htm usage.htm -NO_STAGE= yes -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS + +post-patch: + @${REINPLACE_CMD} -e 's|CFLAGS = @CFLAGS@|CFLAGS = @CFLAGS@ -w|' \ + ${WRKSRC}/Makefile.in post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401060117.s061H24E074221>