2010-10-23 07:04:18 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2010/10/23 11:04:19 jasper Exp $
|
2006-07-31 08:52:20 -04:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= distributed document delivery client
|
2006-07-31 08:52:20 -04:00
|
|
|
|
2006-12-13 18:14:28 -05:00
|
|
|
V= 3.0.11
|
|
|
|
DISTNAME= gopher_${V}
|
2010-07-12 18:07:37 -04:00
|
|
|
PKGNAME= gopher-${V}
|
2010-10-23 07:04:18 -04:00
|
|
|
REVISION= 1
|
2006-07-31 08:52:20 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
HOMEPAGE= http://quux.org/devel/gopher/Downloads/
|
|
|
|
|
|
|
|
# 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
|
2010-10-18 14:36:45 -04:00
|
|
|
USE_GROFF = Yes
|
2006-07-31 08:52:20 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2006-12-13 18:14:28 -05:00
|
|
|
pre-configure:
|
|
|
|
@perl -pi -e "s,!!PREFIX!!,${PREFIX},g;" \
|
2006-07-31 08:52:20 -04:00
|
|
|
-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>
|