openbsd-ports/devel/cvsweb/Makefile
naddy 4767e9b75b Update to 1.104.1.62.
- Run "tar cf - ... | gzip -c" rather than "tar zcf - ..." to avoid
  tar(1)'s automatic padding of nulls to align with the block size,
  which is just garbage for a receiver.
- Have $uname variable to hold the OS implementation name and wrap
  FreeBSD or OpenBSD specific features in conditional blocks using
  $uname.
- Miscellaneous small fixes.
2001-01-12 00:13:08 +00:00

48 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.9 2001/01/12 00:13:08 naddy Exp $
# $FreeBSD: ports/devel/cvsweb/Makefile,v 1.28 2000/09/23 20:48:45 knu Exp $
DISTNAME= cvsweb-1.104.1.62
CATEGORIES= devel www
NEED_VERSION= 1.340
HOMEPAGE= http://stud.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \
ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \
ftp://ftp7.de.FreeBSD.org/pub/FreeBSD/%SUBDIR%/
MASTER_SITE_SUBDIR= ports/local-distfiles/knu
NO_BUILD= Yes
WRKDIST= ${WRKDIR}/cvsweb
PREFIX= /var/www
SYSCONFDIR= ${PREFIX}/conf
CONFFILES= cvsweb.conf cvsweb.conf-ruby \
cvsweb.conf-freebsd cvsweb.conf-openbsd cvsweb.conf-netbsd
ICONS= back.gif dir.gif text.gif \
miniback.gif minidir.gif minitext.gif
do-configure:
@perl -i -pe 's@%%SYSCONFDIR%%@${SYSCONFDIR}@g' ${WRKSRC}/cvsweb.cgi
do-install:
${INSTALL_SCRIPT_DIR} ${PREFIX}/cgi-bin
${INSTALL_SCRIPT} ${WRKSRC}/cvsweb.cgi ${PREFIX}/cgi-bin/cvsweb
${INSTALL_DATA_DIR} ${SYSCONFDIR}/cvsweb
.for file in ${CONFFILES}
${INSTALL_DATA} ${WRKSRC}/${file} ${SYSCONFDIR}/cvsweb/${file}.dist
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/icons/cvsweb
.for file in ${ICONS}
${INSTALL_DATA} ${WRKSRC}/icons/${file} ${PREFIX}/icons/cvsweb/${file}
.endfor
.include <bsd.port.mk>