Date: Sat, 2 Nov 2013 13:59:11 +0000 (UTC) From: Danilo Egea Gondolfo <danilo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332484 - head/games/jzip Message-ID: <201311021359.rA2DxBqa095959@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danilo Date: Sat Nov 2 13:59:11 2013 New Revision: 332484 URL: http://svnweb.freebsd.org/changeset/ports/332484 Log: - Add stage support - Add DOCS options Modified: head/games/jzip/Makefile Modified: head/games/jzip/Makefile ============================================================================== --- head/games/jzip/Makefile Sat Nov 2 13:58:52 2013 (r332483) +++ head/games/jzip/Makefile Sat Nov 2 13:59:11 2013 (r332484) @@ -16,12 +16,10 @@ USE_ZIP= yes CPPFLAGS+= -DPOSIX -DHAVE_GETOPT -MAN1= jzip.1 PORTDOCS= Jzip.doc -PLIST_FILES= bin/jzip +PLIST_FILES= bin/jzip man/man1/jzip.1.gz -NO_STAGE= yes -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ @@ -34,11 +32,9 @@ post-patch: 's|^void main|int main|' ${WRKSRC}/jzexe.c do-install: - (cd ${WRKSRC} && ${INSTALL_PROGRAM} jzip ${PREFIX}/bin) - (cd ${WRKSRC} && ${INSTALL_DATA} jzip.1 ${MANPREFIX}/man/man1) -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - (cd ${WRKSRC} && ${INSTALL_DATA} Jzip.doc ${DOCSDIR}) -.endif + (cd ${WRKSRC} && ${INSTALL_PROGRAM} jzip ${STAGEDIR}${PREFIX}/bin) + (cd ${WRKSRC} && ${INSTALL_DATA} jzip.1 ${STAGEDIR}${MANPREFIX}/man/man1) + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} Jzip.doc ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311021359.rA2DxBqa095959>