openbsd-ports/www/wwwoffle/Makefile
alek fb88ddda06 - Replace INSTALL script with @samples
- Remove DEINSTALL script
- Bump PKGNAME

looks good sturm@
2005-02-05 16:54:56 +00:00

41 lines
1005 B
Makefile

# $OpenBSD: Makefile,v 1.9 2005/02/05 16:54:56 alek Exp $
COMMENT= "WWW OFFLine Explorer"
DISTNAME= wwwoffle-2.5e
PKGNAME= ${DISTNAME}p0
CATEGORIES= www
HOMEPAGE= http://www.gedanken.demon.co.uk/wwwoffle/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= ${MASTER_SITE_SUNSITE:=apps/www/servers/} \
ftp://ftp.demon.co.uk/pub/unix/httpd/
EXTRACT_SUFX= .tgz
FLAVORS= de fr es ru pl it
FLAVOR?=
MAKE_ENV= FLAVOR="${FLAVOR}"
MAKE_FLAGS= prefix="${PREFIX}"
NO_REGRESS= Yes
# These index.htmls are symlinks and @sample doesn't like that.
post-install:
@rm ${PREFIX}/share/wwwoffle/html/htdig/index.html
@${INSTALL_DATA} ${PREFIX}/share/wwwoffle/html/htdig/search.html \
${PREFIX}/share/wwwoffle/html/htdig/index.html
@rm ${PREFIX}/share/wwwoffle/html/index.html
@${INSTALL_DATA} ${PREFIX}/share/wwwoffle/html/Welcome.html \
${PREFIX}/share/wwwoffle/html/index.html
.include <bsd.port.mk>