openbsd-ports/net/gopher/Makefile
steven 95ef5ed2f2 import gopher 3.0.11
This is the Gopher+ distribution based on the University of Minnesota's
Internet Gopher+ distribution for UNIX machines.  University of
Minnesota actively developed this software until 1995.  In 2000, they
released it to the public under the GNU General Public License.

submitted by Deanna Phillips <deanna at sdf.lonestar.org>

ok bernd@, looks good jasper@
2006-07-31 12:52:20 +00:00

45 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2006/07/31 12:52:20 steven Exp $
COMMENT= "distributed document delivery client"
DISTNAME= gopher_3.0.11
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= net
HOMEPAGE= http://quux.org/devel/gopher/Downloads/
MAINTAINER= Deanna Phillips <deanna@sdf.lonestar.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
WANTLIB= c m curses termcap
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
MAKE_FLAGS= CLIENTLIB=${SYSCONFDIR}/gopher
WRKDIST= ${WRKDIR}/gopher
NO_REGRESS= Yes
pre-install:
@perl -pi -e "s,!!LOCALBASE!!,${LOCALBASE},g;" \
-e "s,!!SYSCONFDIR!!,${SYSCONFDIR},g" ${WRKSRC}/doc/gopher.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gopher/gopher ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/gophfilt/gophfilt ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/goph*.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/gopherrc.5 ${PREFIX}/man/man5
${INSTALL_DATA_DIR} ${PREFIX}/share/gopher
${INSTALL_DATA} ${WRKSRC}/gopher/gopher.hlp ${PREFIX}/share/gopher
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gopher
${INSTALL_DATA} ${WRKSRC}/gopher/gopher*.rc \
${PREFIX}/share/examples/gopher
.include <bsd.port.mk>