openbsd-ports/textproc/pinfo/Makefile
sthen 4d259ed5ef Fix up alioth.debian.org MASTER_SITES URLs.
Old https://alioth.debian.org/frs/download.php/xxx/ URLs now give a 0-byte
file, the "proper" https://alioth.debian.org/frs/download.php/file/xxx/
URLs give a 406 error unless there's an http Accept: header, but URLs in the
form https://alioth.debian.org/frs/download.php/latestfile/yyy/ do work, and
don't need changing for each release of the distfile ("yyy" is different to
the per-file "xxx" value and needs to be looked up on the project's file
listing page...)

(These URLs also need the relevant ca cert; that is a separate issue.)
2014-01-14 00:38:39 +00:00

34 lines
777 B
Makefile

# $OpenBSD: Makefile,v 1.10 2014/01/14 00:38:39 sthen Exp $
COMMENT= info viewer with lynx-style navigation
DISTNAME= pinfo-0.6.9
CATEGORIES= textproc devel
HOMEPAGE= https://alioth.debian.org/frs/?group_id=30592
MAINTAINER= Marc Espie <espie@openbsd.org>
MASTER_SITES= https://alioth.debian.org/frs/download.php/latestfile/434/ \
ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c ncurses readline
USE_GROFF = Yes
MODULES+= devel/gettext
AUTOCONF_VERSION= 2.59
CONFIGURE_STYLE= autoconf
MAKE_FLAGS+= INTLLIBS='-L${LOCALBASE}/lib -lintl -liconv'
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pinfo
${INSTALL_DATA} ${WRKSRC}/src/pinforc \
${PREFIX}/share/examples/pinfo/
.include <bsd.port.mk>