Date: Thu, 25 Jul 2013 22:57:40 +0000 (UTC) From: Jason Helfman <jgh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r323676 - head/net/ssvnc Message-ID: <201307252257.r6PMve6o045660@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jgh Date: Thu Jul 25 22:57:40 2013 New Revision: 323676 URL: http://svnweb.freebsd.org/changeset/ports/323676 Log: - unbreak package creation - while here standardize on empty PORT_OPTIONS and convert USE_GMAKE to USES PR: 180850 Reported by: Alfred Bartsch <bartsch@dssgmbh.de> Modified: head/net/ssvnc/Makefile Modified: head/net/ssvnc/Makefile ============================================================================== --- head/net/ssvnc/Makefile Thu Jul 25 22:56:06 2013 (r323675) +++ head/net/ssvnc/Makefile Thu Jul 25 22:57:40 2013 (r323676) @@ -20,13 +20,13 @@ RUN_DEPENDS= stunnel:${PORTSDIR}/securit OPTIONS_DEFINE= ULTRAFTP DOCS ULTRAFTP_DESC= UltraVNC File Transfer support (Java required) -USES= imake:env +USES= imake:env gmake USE_XORG= xi xmu xt xaw ice xpm xext sm USE_TK_WRAPPER= yes USE_PERL5_RUN= yes -USE_GMAKE= yes -MAN1= ssvnc-gui.1 ssvncviewer.1 +MAN1= ssvnc.1 ssvncviewer.1 +NO_INSTALL_MANPAGES= yes .include <bsd.port.options.mk> @@ -37,7 +37,7 @@ PLIST_SUB+= ULTRAFTP="" PLIST_SUB+= ULTRAFTP="@comment " .endif -.if empty(PORT_OPTIONS:MDOCS) +.if ! ${PORT_OPTIONS:MDOCS} MAKE_ARGS+= DOCS="" .endif @@ -46,7 +46,7 @@ post-patch: @${REINPLACE_CMD} -e 's|[[:<:]]ssvnc[[:>:]]|ssvnc-gui|' ${WRKSRC}/man/man1/ssvnc.1 @${REINPLACE_CMD} -e 's|/usr/local/bin|${LOCALBASE}/bin|' \ -e 's|^CC =|CC ?=|' ${WRKSRC}/vncstorepw/Makefile -.if empty(PORT_OPTIONS:MULTRAFTP) +.if ! ${PORT_OPTIONS:MULTRAFTP} @${REINPLACE_CMD} -e "s|sh -c 'type javac'|:|" \ -e "s|sh -c 'type jar'|:|" \ -e 's|cd $$(JSRC);|: |' \ @@ -59,5 +59,11 @@ do-configure: post-install: @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${MAN1PREFIX}/man/man1 +.for man in ${MAN1} + ${INSTALL_MAN} ${WRKSRC}/man/man1/${man} ${MAN1PREFIX}/man/man1 +.endfor +.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307252257.r6PMve6o045660>