2000-10-22 10:02:46 -04:00
|
|
|
|
# $OpenBSD: Makefile,v 1.7 2000/10/22 14:03:55 espie Exp $
|
2000-02-09 18:55:44 -05:00
|
|
|
|
# Original from: Bruno Roh<6F>e <rohee@OpenBSD.ORG>
|
|
|
|
|
|
2000-08-15 10:44:53 -04:00
|
|
|
|
TIDYDATE= 4aug00
|
2000-02-09 18:55:44 -05:00
|
|
|
|
DISTNAME= tidy${TIDYDATE}
|
|
|
|
|
PKGNAME= tidy-${TIDYDATE}
|
|
|
|
|
|
|
|
|
|
CATEGORIES= www
|
2000-03-24 17:11:32 -05:00
|
|
|
|
NEED_VERSION= 1.195
|
2000-02-09 18:55:44 -05:00
|
|
|
|
|
2000-10-22 10:02:46 -04:00
|
|
|
|
MAINTAINER= Bruno Rohee <rohee@openbsd.org>
|
2000-02-09 18:55:44 -05:00
|
|
|
|
|
|
|
|
|
MASTER_SITES= http://www.w3.org/People/Raggett/
|
|
|
|
|
HOMEPAGE= ${MASTER_SITES}tidy/
|
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
2000-03-10 19:51:55 -05:00
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
2000-02-09 18:55:44 -05:00
|
|
|
|
# override program own Makefile (bad) settings
|
|
|
|
|
MAKE_FLAGS= CC=${CC} CFLAGS=${CFLAGS}
|
|
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
|
${INSTALL_PROGRAM_DIR} ${PREFIX}/bin
|
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/tab2space ${PREFIX}/bin
|
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/tidy ${PREFIX}/bin
|
|
|
|
|
${INSTALL_MAN_DIR} ${PREFIX}/man/man1
|
|
|
|
|
${INSTALL_MAN} ${WRKBUILD}/man_page.txt ${PREFIX}/man/man1/tidy.1
|
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tidy
|
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/*.html ${WRKBUILD}/*.gif ${PREFIX}/share/doc/tidy
|
|
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|