Date: Sat, 28 Sep 2013 15:14:32 +0000 (UTC) From: Erwin Lansing <erwin@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328577 - head/net/gopher Message-ID: <201309281514.r8SFEW2w040687@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: erwin Date: Sat Sep 28 15:14:32 2013 New Revision: 328577 URL: http://svnweb.freebsd.org/changeset/ports/328577 Log: - Override install target to make it behave sanely - Add stage support Modified: head/net/gopher/Makefile head/net/gopher/pkg-plist Modified: head/net/gopher/Makefile ============================================================================== --- head/net/gopher/Makefile Sat Sep 28 15:09:55 2013 (r328576) +++ head/net/gopher/Makefile Sat Sep 28 15:14:32 2013 (r328577) @@ -16,12 +16,18 @@ COMMENT= Gopher client for access to a d GNU_CONFIGURE= yes USE_GMAKE= yes -MAN1= gopher.1 gophfilt.1 -MAN5= gopherrc.5 - -NO_STAGE= yes pre-patch: @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \ 's,<malloc.h>,<stdlib.h>,' +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/gopher/gopher ${STAGEDIR}${PREFIX}/bin/gopher + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/gopher + ${INSTALL_DATA} ${WRKSRC}/gopher/gopher.rc ${STAGEDIR}${PREFIX}/etc/gopher/gopher.rc + ${INSTALL_DATA} ${WRKSRC}/gopher/gopherremote.rc ${STAGEDIR}${PREFIX}/etc/gopher/gopherremote.rc + ${INSTALL_DATA} ${WRKSRC}/gopher/gopher.hlp ${STAGEDIR}${PREFIX}/etc/gopher/gopher.hlp + ${INSTALL_PROGRAM} ${WRKSRC}/gophfilt/gophfilt ${STAGEDIR}${PREFIX}/bin/gophfilt + ${INSTALL_MAN} ${WRKSRC}/doc/gopher.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/doc/gophfilt.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/doc/gopherrc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5 .include <bsd.port.mk> Modified: head/net/gopher/pkg-plist ============================================================================== --- head/net/gopher/pkg-plist Sat Sep 28 15:09:55 2013 (r328576) +++ head/net/gopher/pkg-plist Sat Sep 28 15:14:32 2013 (r328577) @@ -4,3 +4,6 @@ etc/gopher/gopher.rc etc/gopher/gopherremote.rc etc/gopher/gopher.hlp @dirrm etc/gopher +man/man1/gopher.1.gz +man/man1/gophfilt.1.gz +man/man5/gopherrc.5.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309281514.r8SFEW2w040687>